Difference between revisions of "Bash start up script"

From Earlham CS Department
Jump to navigation Jump to search
 
Line 1: Line 1:
These are the files that bash calls, in order, for login shells
+
These are the files that bash calls, in order, for login shells<br>
 +
/etc/bash.bashrc<br>
 +
/etc/profile<br>
 +
/usr/local/acl/etc/bash.bashrc<br>
 +
/usr/local/acl/etc/profile<br>
 +
~/.bashrc<br>
 +
~/.bash_profile<br>
  
/etc/bash.bashrc
+
For nonlogin shells:<br>
/etc/profile
+
/etc/bash.bashrc<br>
/usr/local/acl/etc/bash.bashrc
+
/usr/local/acl/etc/bash.bashrc<br>
/usr/local/acl/etc/profile
+
~/.bashrc<br>
~/.bashrc
 
~/.bash_profile
 
 
 
For nonlogin shells:
 
/etc/bash.bashrc
 
/usr/local/acl/etc/bash.bashrc
 
~/.bashrc
 

Latest revision as of 14:38, 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