Shell script tutorial part 1
Here is a simple shell script to start with, #!/bin/sh MY_MESSAGE="Hello World" echo $MY_MESSAGE This assigns the string "Hello World" to the variable MY_MESSAGE then echoes out the value of…
Here is a simple shell script to start with, #!/bin/sh MY_MESSAGE="Hello World" echo $MY_MESSAGE This assigns the string "Hello World" to the variable MY_MESSAGE then echoes out the value of…
It is a good idea to use sendmail command to send an html email from a linux or unix server. By using this command the email content will be displayed…
Here is a simple example of combining output of two files in to a file named, for example "new.txt" in Linux / Unix. Assuming that we have 2 files named…
While using ssh-copy-id command sometimes you should be getting an error /usr/bin/ssh-copy-id: ERROR: No identities found Solution 1 This could be because id_rsa.pub didn't got created in the path /home/USERID/.ssh/…