CHPC recommends users update login scripts from time to time

Posted: September 19, 2012

CHPC provides users with standard login scripts for both bash and tsch shells. These files, named .tcshrc and .bashrc, are put in your home directory when your account is created. From time to time you should consider updating these files to the most current versions.

The easiest way to do so is to use the wget command, making sure you are in your home directory. The example below is for .tcshrc, but by changing all instances of tcsh with bash you will update the .bashrc file.

Issue the following 3 commands:

1. mv .tcshrc .tcshrc-save
2. wget
3. mv chpc.tcshrc .tcshrc

CHPC also recommends that you do not customize this file, aside from commenting in setups for different packages that you need, or uncommenting them out if you do not need a specific package. For more details on this, see our featured article.

If you need any help in setting up your environment, please send a note to and we will be happy to assist you.