.bashrc
Janina Sajka
janina at afb.net
Sat Feb 2 21:06:24 EST 2002
Geoff:
It is true that both /etc/profile and $HOME/.profile are sourced during
login. However, I believe I am correct that .bash_profile is local console
only.
On Sun, 3 Feb 2002 gshang at uq.net.au wrote:
> >First, I'm assuming bash is your assigned shell. Is this correct? To find
> >out for sure do:
> >
> > grep -i [your.username] /etc/passwd
>
> It's easier to just do
>
> echo $SHELL
>
> >.bashrc -- These are settings exectued whenever you login, meaning you in
> >particular, and not some other username. These are executed whether you
> >login locally on a console, or over the Internet perhaps using ssh;
> >
> >.bash_profile -- These commands are executed only when you log in on a
> >local console;
>
> This is not correct. I do not have any commands in my .bashrc file, they
> are all in .bash_profile and they get executed no matter how I login.
> Linux generally doesn't care if you're local or not.
>
> As stated earlier, .bashrc is run by bash for shells launched later
> whereas .bash_profile is run when you log in.
>
> Geoff.
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Janina Sajka, Director
Technology Research and Development
Governmental Relations Group
American Foundation for the Blind (AFB)
Email: janina at afb.net Phone: (202) 408-8175
Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
More information about the Speakup
mailing list