Created
June 28, 2011 12:21
-
-
Save steverandy/1051022 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When bash is invoked as an interactive login shell, or as a non-inter- | |
active shell with the --login option, it first reads and executes com- | |
mands from the file /etc/profile, if that file exists. After reading | |
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, | |
in that order, and reads and executes commands from the first one that | |
exists and is readable. The --noprofile option may be used when the | |
shell is started to inhibit this behavior. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment