From owner-freebsd-questions Sun Apr 25 21:34: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc04.worldnet.att.net (mtiwmhc04.worldnet.att.net [204.127.131.39]) by hub.freebsd.org (Postfix) with ESMTP id B9EA914FC2 for ; Sun, 25 Apr 1999 21:34:07 -0700 (PDT) (envelope-from zoarre@bigfoot.com) Received: from kermit ([12.72.201.192]) by mtiwmhc04.worldnet.att.net (InterMail v03.02.07 118 124) with SMTP id <19990426043406.QCZ5934@kermit> for ; Mon, 26 Apr 1999 04:34:06 +0000 Message-ID: <00a001be8f9d$f9182860$0100a8c0@kermit> From: "Mike Roberts" To: "freebsd-questions" Subject: bash startup scripts Date: Sun, 25 Apr 1999 21:31:23 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to make bash's startup files work, and the behavior that my installation exhibits does not seem to match the documentation that I have: - The book, "The Complete FreeBSD" claims that bash executes '.profile', and then '.bashrc'. - The bash man page claims that it executes '.bash_profile' on login, and '.bashrc' for each shell (login shell also?). - My installation (the package installed with sysinstall) executes '.profile' on login, and executes '.bashrc' only when I execute bash again from the login shell. Which behavior is correct? What do to obtain the proper behavior? Thanks in advance for any answers. :) -- Mike Roberts Email: zoarre@bigfoot.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message