[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash



"Bruce Park" <bpark79@hotmail.com> writes:
> My understanding with the original Bourne shell was that when it
> starts up, it will execute .profile in the users home directory. How
> does this work in bash? I have a .bash_profile but I know that it
> isn't executed since my PATH variable isn't updated everytime I log on.

This is discussed near the top of bash(1), under "INVOCATION"; 'man
bash' for details.  Note that you only get a 'login shell' when you
log in from a console login prompt, generally not at all under X.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: