Need help with remote shell
Dave Corcoran
dave at aspect.UUCP
Wed Oct 31 00:23:09 AEST 1990
"Hello World\n"
Is there a .login or .cshrc or .profile which is read upon startup
of a remote shell? i.e. remsh in Motorola SYSV (rsh in SunOs).
If I issue the command
remsh host date
I get eastern standard time. I can, however, issue
remsh host TZ=$TZ date
and get the date adjusted to the timezone of the local machine (assuming
the host "runs" sh or ksh).
This is all well and good for simple commands. What I need is a way
to cause the remote shell to read some .profile by default to set up the
ENV without resorting to
remsh host ". /u/me/.profile; command"
for each command. It just seems inelegant.
--
David Corcoran -@@
uunet!aspect!dave ~
Good, fast, cheap; pick any two.
More information about the Comp.unix.shell
mailing list