Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rsh

Status
Not open for further replies.

SRaji

IS-IT--Management
Jul 17, 2000
35
US
Hi,

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"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top