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



Keywordsdotfile shell environment PATH command home homedir default command not found vsim   Doc ID6697
OwnerNoel K.GroupCAE
Created2007-11-11 19:00:00Updated2024-02-05 13:58:17
SitesComputer-Aided Engineering
Feedback  0   0