Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!erbe.se!prc From: prc@erbe.se (Robert Claeson) Newsgroups: comp.unix.questions Subject: Re: rsh revisited Keywords: rsh remote login Message-ID: <1991Feb21.082216.17423@erbe.se> Date: 21 Feb 91 08:22:16 GMT References: <1991Feb19.194104.1337@ssd.kodak.com> Organization: ERBE DATA AB, Jakobsberg, Sweden Lines: 15 In article <1991Feb19.194104.1337@ssd.kodak.com> weimer@ssd.kodak.com writes: >NEXT PROBLEM: >rsh will put you in your home directory, not where your source files >are. This can be fixed by changing your makefile to: Or use "on" innstead of "rsh". On executes a command on a remote machine, passes environment variables and automatically mounts the directory you're executing the "on" command from on the remote machine (this is done via NFS). -- Robert Claeson Disclaimer: I represent myself and not my employer.