-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 06 March 2003 12:02 am, Shashank G. Khandelwal wrote:
> My path is not ok.
>
> ssh machine echo $PATH  yields:
>
> /usr/local/globus-2.2.3/bin:/usr/local/globus-2.2.3/sbin:/usr/local/bin
[snip]

Hmm, if you typed those in as you emailed, then $PATH got interpolated 
before ssh was executed.  That is, by bash on your SSHer, not your SSHee.

Shells interpret all variables that they see before executing the command.  
A way to make your shell not see $PATH is to hide it in single quotes: 
ssh machine echo '$PATH'

- -- 
Jason Smith
GPG: 03EE 9EB8 E500 874A F509  7B95 9B9A 84A1 26E9 4F79
http://www.ece.utexas.edu/~jhs/public_key.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Zkikm5qEoSbpT3kRAqhUAKCipLUz4WuEM5WNAKRXU45jK2KKCwCfQGdV
jV4FeCueklkhjb+KeeXwS5g=
=jhLW
-----END PGP SIGNATURE-----

_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to