LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   .bashrc / .bash_profile /etc/profile /etc/bashrc (https://www.linuxquestions.org/questions/red-hat-31/bashrc-bash_profile-etc-profile-etc-bashrc-788656/)

deadeyes 02-12-2010 07:09 AM

.bashrc / .bash_profile /etc/profile /etc/bashrc
 
Hi all,

I am trying to fully understand those scripts and when they get executed.
So I put it in a drawing: http://img51.yfrog.com/i/rhelbashprofile.png/

Could someone take a look at it? I want to make sure I interpreted the scripts correctly.

Thanks in advance!

catkin 02-12-2010 07:36 AM

Nice diagram! :)

Not quite right. The best explanation I know about these files is the GNU Bash Reference's 6.2 Bash Startup Files. If you have already read that please post again and I'll tell you what is not quite right with the diagram.

deadeyes 02-13-2010 11:22 AM

Quote:

Originally Posted by catkin (Post 3861421)
Nice diagram! :)

Not quite right. The best explanation I know about these files is the GNU Bash Reference's 6.2 Bash Startup Files. If you have already read that please post again and I'll tell you what is not quite right with the diagram.

I did read it :)
Do note that this is RHEL and that this probably is different from other distros (the files and how they work; the invocation will probably be the same).


All times are GMT -5. The time now is 08:05 AM.