[3580] in RedHat Linux List
Re: .profile
daemon@ATHENA.MIT.EDU (Wierdl Mate)
Sat Nov 9 12:33:16 1996
To: Borg <"vladimip "@iceonline.com>
cc: redhat-list@redhat.com
In-reply-to: Your message of "Fri, 08 Nov 1996 13:25:32 PST."
<m0vLyQO-001G0HC@iceonline.com>
Date: Sat, 09 Nov 1996 11:31:12 -0600
From: Wierdl Mate <matyi@wierdlmpc.msci.memphis.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> .bash_profile
> .bashrc
>
> So, you should rename your .profile to one of the above.
> (I am not sure which one).
It is not clear from the manual, but the fact is this:
At login only one of
.profile
.bash_profile
.bash_login
is read, and not .bashrc; when you start bash interactively (from the
command line), it will source *only* .bashrc.
But of course, you can always source, for example, .bashrc from
.bash_profile:
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
Mate
M\'at\'e Wierdl
Department of Mathematical Sciences
University of Memphis,
E-mail: matyi@moni.msci.memphis.edu
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null