This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bash PATH via ssh


Hello, first post.

>From a remote machine I'm doing something like:

    ssh 192.168.0.150 'echo $PATH'

All the path appears to be set to is the Windows system path. I've put path
amendments into /.bashrc and ~/.bashrc. As well as in the bash.bashrc files
in /etc.  Where do I put the path statements so they have effect when
invoked from ssh so I can get things like /bin into the path?

(I've read man bash invocation and searched the mailing list archives.)

Thanks,
Michael



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]