-   Linux - Software (
-   -   about the login profile (

ust 02-02-2004 08:20 PM

about the login profile
when the user login , which profiles will be load , as i know , it will default load /etc/profile , ~userid/.bash_profile , is there other profile will be loaded ? thx.

YMHiK 02-02-2004 08:51 PM


slakmagik 02-02-2004 09:43 PM

Also ~/.bash_login if it exists. And even ~/.profile. 'man bash'/search 'INVOCATION'.

It'll also read ~/.bash_logout on logout. Mine says 'clear'. *g*

It doesn't actually read ~/.bashrc as a login shell unless told to do so in one of the other files - it just reads that if it's not a login shell. If I'm not mistaken.

All times are GMT -5. The time now is 04:04 PM.