Shell initialisation scripts include .profile, .bash_profile and .bashrc for Bash, and .login and .tcshrc for TCSH/CSH.
These scripts are a great way to set up aliases (to save typing), set up the terminal (e.g. colour output, change the command prompt) and some environment variables such as SQUEUE_FORMAT.
You are strongly discouraged from doing anything that will interfere with running batch jobs or logging in. This includes:
Activity | Reason |
---|---|
any module statements, such as "module use", "module load" | This makes your environment difficult to reproduce by colleagues or Pawsey staff |
running any programs | May not be available on all systems / architectures. Any mistakes/changes may prevent login. May break scp |
altering PATH, LD_LIBRARY_PATH, MODULEPATH | This makes your environment difficult to reproduce by colleagues or Pawsey staff |
anything that produces output | May break scp |
Related articles