cygwin-1.1.4: problems with remote commands
Corinna Vinschen
vinschen@cygnus.com
Wed Aug 9 01:24:00 GMT 2000
Ralf Fassel wrote:
>
> * norbert.bladt@usa.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@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list