This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Order of .profile & .bashrc


jwzumwalt sent the following at Thursday, December 16, 2010 12:39 PM
>
>My prompt and a few other items are not working correctly. I have found
>teh following startup files... are there any more? What is the order or
>priority of configuring?
>
>/etc/bash.bashrc
>/etc/profile
>/etc/skel/.bashrc
>/etc/skel/.bash_profile
>/etc/skel/.inputrc
>$HOME/.bash_profile - commands inside this file
>only get executed by the login shell. 
>$HOME/.bashrc - commands inside
>this file only get execute when you run a subshell
>$HOME/.bash_logout - executed on logout, good for deleting tmp files and
>history.
>/etc/X11/xinit/xinitrc - executed when xwindows start, startup programs

http://tiswww.case.edu/php/chet/bash/bash.html#lbAH
  or
$ man bash
  or
$ info bash

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]