delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/15:24:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <004401c2b749$8fceb720$9700a8c0@michael>
From: "Michael Hipp" <Michael AT Hipp DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Bash PATH via ssh
Date: Wed, 8 Jan 2003 13:09:59 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019