This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Order of .profile & .bashrc
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>, 'jwzumwalt' <jwzumwalt at neatinfo dot com>
- Date: Thu, 16 Dec 2010 13:45:10 -0500
- Subject: RE: Order of .profile & .bashrc
- References: <30474750.post@talk.nabble.com>
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.