Difference between revisions of "Bash start up script"

From Earlham CS Department
Jump to navigation Jump to search
Line 2: Line 2:
  
 
/etc/bash.bashrc
 
/etc/bash.bashrc
 
 
/etc/profile
 
/etc/profile
 
 
/usr/local/acl/etc/bash.bashrc
 
/usr/local/acl/etc/bash.bashrc
 
 
/usr/local/acl/etc/profile
 
/usr/local/acl/etc/profile
 
 
~/.bashrc
 
~/.bashrc
 
 
~/.bash_profile
 
~/.bash_profile
  
 
For nonlogin shells:
 
For nonlogin shells:
 
 
/etc/bash.bashrc
 
/etc/bash.bashrc
 
 
/usr/local/acl/etc/bash.bashrc
 
/usr/local/acl/etc/bash.bashrc
 
 
~/.bashrc
 
~/.bashrc

Revision as of 14:37, 4 November 2008

These are the files that bash calls, in order, for login shells

/etc/bash.bashrc /etc/profile /usr/local/acl/etc/bash.bashrc /usr/local/acl/etc/profile ~/.bashrc ~/.bash_profile

For nonlogin shells: /etc/bash.bashrc /usr/local/acl/etc/bash.bashrc ~/.bashrc