From owner-freebsd-questions Mon Nov 18 6:56:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE47D37B401 for ; Mon, 18 Nov 2002 06:56:33 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB9BD43E6E for ; Mon, 18 Nov 2002 06:56:32 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2002111814563000300rim3be>; Mon, 18 Nov 2002 14:56:30 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id gAIEuV0N030036; Mon, 18 Nov 2002 09:56:31 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id gAIEuUxI030000; Mon, 18 Nov 2002 09:56:30 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: Khairil Yusof Cc: questions@FreeBSD.ORG Subject: Re: Confused about bash profiles and environment settings. References: <1037630612.73684.18.camel@daemon.home> From: Lowell Gilbert Date: 18 Nov 2002 09:56:30 -0500 In-Reply-To: <1037630612.73684.18.camel@daemon.home> Message-ID: <4465uvc4f5.fsf@be-well.ilk.org> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Khairil Yusof writes: > According to the man, bash loads up for an interactive shell: > > /etc/profile > ~/.bash_profile > ~/.bash_login > ~/.profile No, that's not what it says. It says that it only loads *one* of the last three, and that it tries them in that order. The behaviour you've observed matches this description. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message