delorie.com/archives/browse.cgi | search |
Ralf Fassel wrote: > > * norbert DOT bladt AT usa DOT net > | > % ssh nt-host ls > | This works for me. > | Either you > | - are using the ls from the Resource Kit or > > Duh! > > % ssh nt-host /bin/ls > > works as advertised. I was picking up the `ls' (and other UNIX tools) > from the NutCracker Suite, since I chose to _append_ /usr/bin to PATH > for testing purposes. Hmmm. Maybe I should _prepend_ > /cygdrive/c/usr/bin to PATH, since the other shells won't find > anything there. I want to make sure not to disturb other shells when > adding cygwin to PATH... Personally I have only the Cygwin bin path which points to the base package (including cygwin1.dll!) in my system environment as last entry: PATH="...:D:\Cygwin\bin" In my global profiles (bash: /etc/profile, tcsh: /etc/csh.login) I set PATH so that it contains all my important bin paths at the beginning: export PATH="/usr/local/bin:/usr/bin:/bin:$PATH" or set path = ( /usr/local/bin /usr/bin /bin $path ) I have good experiences with that strategy. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |