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 tcsh, edit your .tcshrc file. If you use bash or ksh, edit your .profile file. (Do not confuse these with .bashrc and .login files, which have different purposes and are not always sourced at login time.) PBS jobs on both Cheyenne and Casper also initialize your job environment with your .tcshrc or .profile files.
Personalizing these files is optional; the information is provided in response to users' requests.
Keep the following in mind when writing/revising your initialization files: