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



Keywords:
dotfile shell environment PATH command home homedir default command not found vsim 
Doc ID:
6697
Owned by:
Noel K. in CAE
Created:
2007-11-11
Updated:
2024-10-04
Sites:
Computer-Aided Engineering