bash and login files

Had some problems with a user not getting the correct prompt (PS1) even though it was in his .bashrc file, as WELL as being in the global /etc/bashrc.

On a default RedHat install the file .bash_profile is run when a user logs in, which calls ~/.bashrc which calls the global /etc/bashrc. Weird, but it's working now. The user was missing the line in .bash_profile which started the whole process.


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.235.85.115
To prevent spam please submit by clicking the kitten: