rsh problem

hey,
I'v a problem when I use rsh. When it logs in, it goes my home directory. I want it to go directly to my working directory. An idea I had was to redirect pwd to a file (pwd > somefile) and then once I'v rsh'd, cd to that path. I don't know how to read from the file to use as a parameter for cd (ie. cd <contents of somefile>).
Anyone have any idea how to do that? Anyone know of a much easier/simpler way to automatically go to the working directory after rsh or rlogin?

Make your "working" directory your "home" directory.

Actually, I'v figured a way. I just assigned the ouput of pwd to a variable (as opposed to a file) and used that in my cd command. I'm a newbie, what can I say. :rolleyes: