Bash Shell

A popular shell provided with the operating system, bash is available as a login shell. To change your login shell use your ALCF personal account page.

Version(s): 3.1.17

Package type: Shell

Known Problems: No known bugs.

Documentation

Man page (man bash ) - available on any ALCF BG/P system.

Bash online manual located at http://www.gnu.org/software/bash/manual/bashref.html

From the bash documentation:

When and how bash executes startup files.

For Login shells (subject to the -noprofile option):

   On logging in:

	If `/etc/profile' exists, then source it.
					
        If `~/.bash_profile' exists, then source it, else if `~/.bash_login' exists, then source it, else if `~/. profile' exists, then source it.

   On logging out: 

        If `~/.bash_logout' exists, source it.

        For non-login interactive shells (subject to the -norc and -rcfile options): On starting up: If `~/.bashrc' exists, then source it.

For non-interactive shells: On starting up: If the environment variable ENV is non-null, expand the variable and source the file named by the value. If Bash is not started in Posix mode, it looks for BASH_ENV before ENV.