Rereading of .bash_profile
Chris F.A. Johnson
chris at home.com
Sat Dec 30 08:58:18 PST 2000
On Sat, 30 Dec 2000, Jesse Tie Ten Quee wrote:
> btw, like others have mentioned, it's 'source or '.' then give the shell
> script or configuration file (.bashrc .bash_login .bash_profile
> .bash_logout, etc) and yeah, 'source' and '.' are the same.
> Executing sh or bash like someone metioned will actually spawn another
> shell (so your running bash inside bash) which isn't re-reading the
> configuration file.
Also, note that .bash_profile is read only on login (or when explicitly
called) and .bashrc is called by a non-login instance of the shell.
In other words, .bash_profile should contain commands only needing to be
My .bash profile contains:
# ~/.bash_profile: executed by bash(1) for login shells.
set WPLANG us; export WPLANG
if [ -f ~/.bashrc ]; then
Chris F.A. Johnson bq933 at torfree.net
c.f.a.johnson at home.com http://cfaj.freeshell.org
cfaj at freeshell.org http://members.home.net/c.f.a.johnson
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev