delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/10/17:38:11

X-Spam-Check-By: sourceware.org
Message-ID: <20060210223757.26265.qmail@web26101.mail.ukl.yahoo.com>
Date: Fri, 10 Feb 2006 23:37:56 +0100 (CET)
From: "O. Olson" <olson_ord AT yahoo DOT it>
Subject: Re: Another .bashrc Question
To: cygwin AT cygwin DOT com
Cc: "René" Berber <r DOT berber AT computer DOT org>
In-Reply-To: <dse270$bvm$1@sea.gmane.org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

--- René Berber <r DOT berber AT computer DOT org> ha scritto: 

> Recently it was recommended to use (in a command
> window probably is better):
> 
> 	bash -x -li
> 
> to see what's really going on when bash starts.
> 
> You'll see in the output where your .bashrc is
> looked for.
> -- 
> René Berber
> 

Thanks a lot René for this tip. At least after trying
this out, understood that something is wrong, in my
cygwin installation. 

	If I log in (either locally and remotely) I get the
bash prompt, but the .bashrc is not sourced. If I then
type “bash” on the command line then this file gets
sourced. 

	Trying to use “w” from another terminal, would list
the users and the ttys. Under the “WHAT” column I see
“–bash” in case of a simple login – but if I type
“bash” under the login I then see “/usr/bin/bash –l” 

	This means that when I login some other bash (other
than /usr/bin/bash) is called. 

Thanks a lot for your help.
Regards,
O.O. 



		
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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