0
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...
Rsync command-line switches example
rsync is a software application for Unix systems which synchronizes files and directories from one location to another
while minimizing data transfer
The basic usage to synchronize two folders looks like
rsync -r -t -v /source_folder /destination_folder
This...
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...
Page 1 of 11
