The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: Modify Path
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 11-18-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 548
upon the start of a login shell, the bash will consult the below files in this order:
1. /etc/profile
2. ~.bash_profile
3. ~.bash_login
4. ~.profile
when you start a nonlogin shell, bash consults only ~bashrc.

so there is a difference between them. however, thats not to say osx is different. i'm not sure about this. this is more typical of linux/solaris.