You can personalize your NCAR high-performance computing environment by using the sample content below in your startup files – the files that create your interactive login shell. The examples provide alternative color schemes and set some commonly used aliases.
These examples also demonstrate how to define commands to be run for interactive sessions only and commands to be run for all new shells. This distinction can be important if you have some commands in your initialization files that would be disruptive for non-interactive connections, such as when using the scp command (which is not interactable and therefore will not benefit from module loads or aliases) or within a batch script.
If you use bash or ksh, edit your .profile file. If you use tcsh, edit your .tcshrc file. PBS jobs on NCAR systems initialize your job environment with those files, so do not confuse them with .bashrc and .login files, which have different purposes and are not always sourced at login time.)
Personalizing these files is optional; the information is provided in response to users' requests.