Facebook Twitter Reset

SSH without password from one server to another in unix aix or linux

There are lot of requirements in the production environment where there is a need to have SSH without password prompt from one server to another under some id’s. But how to do that. Here is the solution and tips on how to approach this...

Simple shell script to FTP file from your Desktop to FTP server

#!/bin/sh HOST='ftp.mistonline.in' USER='' PASSWD='' FILE='file.txt' ftp -n $HOST << END quote USER $USER quote PASS $PASSWDcd databackup/DB/ put $FILE quit END exit 0 The Tricks Getting the password to the ftp server without having...

Shell Scripts Part 2

Create a small shell script, testVar2.sh: testVar2.sh #!/bin/sh echo “testVar is: $testVar” testVar=”my shell script” echo “testVar is: $testVar” Now run the script: $ ./testVar2.sh testVar is: testVar is:...

Shell Scripts 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 the variable. Note that we need the quotes...
Affordable Seo PackagesSeo BlogEdu Backlinks