Topics Map > Unix Information
Linux: Fixing shell dotfiles (can correct minor issues with environment, PATH, etc.)
A brief script to reset most of the dotfiles in the home directory of the invoking user.
This script will look for dotfiles in the calling user's homedirectory, move any old ones out of the way, and reset them to the CAE defaults (in ~skel). This can be used to help remedy shell environments that aren't working correctly or missing PATH folders, etc.
To run, type the following command into your terminal. Note this script will only copy bash files. For other shells, contact the CAE Help Desk.
$ /usr/local/bin/reset-bash-files.sh