🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56228

startup files with bash on linux

#56228
From: Richard Keech Open Systems Group
Date: Mon, 24 Mar 1997 00:00
25 lines
1249 bytes

hi,

the bash manual says that on login it will source the file
/etc/profile, but makes no reference to a file named /etc/bashrc.

this is contrary to what i see running Red Hat Linux 4.1 using bash.
both /etc/bashrc and /etc/profile exist after installation, however
only /etc/bashrc is sourced on login.

this raises a number of questions; 

	why doesn't /etc/profile get sourced?

	why is there a /etc/bashrc file at all?

	am i missing something in the fine print?


(please respond by email in the first instance)

tia

Richard Keech
Technical Details
Message-ID: <xiabu893n2t.fsf@colesmyer.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9382,c40794840bca073,start
X-Google-Attributes: gidf9382,public
X-Google-Thread: 1012a6,c40794840bca073,start
X-Google-Attributes: gid1012a6,public
X-Google-Thread: 102983,c40794840bca073,start
X-Google-Attributes: gid102983,public
From: Richard Keech   Open Systems Group <rkeech@colesmyer.com.au>
Subject: startup files with bash on linux
Date: 1997/03/24
Message-ID: <xiabu893n2t.fsf@colesmyer.com.au>
X-Deja-AN: 227883746
Sender: rkeech@mecx05
X-Nntp-Posting-Host: mecx05.colesmyer.com.au
Organization: ColesMyer Ltd. RTS Production Services
Newsgroups: aus.computers.linux,comp.os.linux,comp.unix.shell