Quote:
Originally posted by hinetvenkat
Hello All....
If i put
rsh -l root 172.163.2.3 "cd /"
It is not functioning. Any other command through rsh will work. What is the problem in this. kindly tell me.
Thanks
|
When you pass a command to rsh it executes the command and exits. I assume you want to run rsh -l root 172.163.2.3 "cd /" then run another command after it. If that's true you can pass multiple commands to rsh in one line by adding a ";" after each command.
rsh -l root 172.163.2.3 "cd /; cp *.txt <another/dir>"
Hope this helps.
Mike