tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: rsh environment
@ 1997-11-04 20:12 Randy Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Rodgers @ 1997-11-04 20:12 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to all that replied.

It appears that with ksh you must provide the full path when using rsh to
execute anything in /usr/local/bin.  This is the way I normally do it.  

The reason why I was trying to get around this at this time is that I had
just downloaded & installed rsync and placed it in /usr/local/bin.  When
attempting to run it I got the "ksh: rsync:  not found" message.

I have since noticed the --rsync-path option that allows me to specify the
path to rsync on the remote machine.  This resolves my problem.

^ permalink raw reply	[flat|nested] 2+ messages in thread
* SUMMARY: rsh environment
@ 1998-11-03 17:34 Alan Angulo
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Angulo @ 1998-11-03 17:34 UTC (permalink / raw)
  To: tru64-unix-managers

Original question:
===================

> How can I tell rsh to also see.... NEW_VAR=/usr/bin/newcmd

Answers:
========
Thanks to:
"Dr. Tom Blinn, 603-884-0646" <tpb@doctor.zk3.dec.com>
who suggested to: 
   rsh hostname "NEW_VAR=/usr/bin/newcmd rest of command line"

Gavin Kreuiter <gavink@ust.co.za>
who suggested to:
    rsh server02 "( . /.profile; printenv )"

I am going to create /.vars and
    rsh host ". /.vars; command"

-- Alan
.----------------------------------.------------------------------.
| E-mail: alan@esu.edu             | Network Administrator        |
| WWW:    http://www.esu.edu/~alan | Academic Computing           |
| Tel:    (717) 422-3783           | East Stroudsburg University  |
`----------------------------------`------------------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-03 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-04 20:12 Summary: rsh environment Randy Rodgers
  -- strict thread matches above, loose matches on Subject: below --
1998-11-03 17:34 SUMMARY: " Alan Angulo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox