delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3AB2D6D0.412200CA@acedsl.com> |
Date: | Fri, 16 Mar 2001 22:15:28 -0500 |
From: | "Matthew O. Persico" <persicom AT acedsl DOT com> |
X-Mailer: | Mozilla 4.76 [en] (Windows NT 5.0; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin <cygwin AT cygwin DOT com> |
Subject: | Bash is backwards, or I can't read a man page. |
According to what I get from the manpage, the order of execution for a login shell should be: /etc/profile ~/.bash_profile ~/.bashrc When I login, I see /etc/profile ~/.bashrc ~/.bash_profile because /etc/profile tests for ./.bashrc and runs it itself. Is this a bug or a feature? Does someone have a clearer explanation of what stuff goes into .bash_profile and what goes into .bashrc and when they get called? Maybe it's just me - I can't grok this in ksh using the O'Reilly book either. -- Matthew O. Persico http://www.acecape.com/dsl AceDSL:The best ADSL in Verizon area -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |