Rereading of .bash_profile

Rudolf Floers r.floers at web.de
Fri Dec 29 21:29:59 PST 2000


> bash rereads .bash_profile on restarting the shell, but the contents of

afaik, bash reads .bash_profile when started as login shell and .bashrc 
when started from the command line with "bash".
you could .bashrc make a link to .bash_profile.

if you execute a script like
export CFLAGS=blah
the CFLAGS var will only be exported to the subshell.
not to the shell level above.

hope i put it right together (it's about 6:30 am now, and i didn't sleep 
the whole nite).

good nite.
;-]


-- 
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 mailing list