Argonne National Laboratory BG/L System

Main

How to use BGL

Getting Started
About the BG/L System
Presentations/Papers
CS Research
ANL BGL Wiki
Current Status and News
Support
BG Consortium
App Docs
Mailing lists
Policies
Search the site

Alternate Shells - bash

bash A popular shell provided with the operating system, bash is available as a login shell. To change your login shell use your MCS personal account pages accessible from the main MCS account page https://accounts.mcs.anl.gov/account.php.
Versions 2.05
Package type Shell
Known Problems No known bugs.
Documentation
Man page (man bash) - available on any Argonne BG/L machine.

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.


Help Security/Privacy Notice Disclaimer