I am doing a rsh to other node within the k-shell script. The problem is after doing rsh i want to go to a particular directory on the node directly instead of typing cd command. Anyone can pl tell me how to do this inside a script.
Thanks a lot
Raji.
We use rsh quite a lot and I do not see why you have to go to another directory.
Either run your remote command using full path names
eg "ls -l /whatever/directory/you/want"
or do a cd within the rsh command
eg "cd /whatever/directory/you/want ; ls -l"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.