Reset ECE Solaris/Linux Defaults
About
The "resetenv" command will load a default set of "dot files" that use modules.
Usage
Usage:
resetenv [--gdm] [--purge] [--help] --gdm: Fix gdm login files --purge: Delete all old files --help: This listing
From any Linux or Solaris machine run the command:
/usr/local/bin/resetenv
You will be prompted to reset your environment back to the ECE defaults, type '1' to accept. If you run it a second time you will notice you will be prompted to either reset to defaults or to pick a state to restore back to if you do not like the default files.
Examples
Restore your old settings
rmyers@linux05 (~) % resetenv Select a date/time to revert back to, or select reset to defaults to load ECE default files: 1) Reset to ECE default files 2) Sep-30-2005_11:09 > 2 Backing up current dotfiles into directory Oct-07-2005_10:18... ... ... .profile copied to dotProfile .bashrc copied to dotBasrc .login copied to dotLogin .cshrc copied to dotCshrc ... Restoring files from directory: /home/ecelrc/staff/rmyers/olddotfiles/Sep-30-2005_11:09 dotProfile copied to /home/ecelrc/staff/rmyers/.profile dotCshrc copied to /home/ecelrc/staff/rmyers/.cshrc dotLogin copied to /home/ecelrc/staff/rmyers/.login dotBashrc copied to /home/ecelrc/staff/rmyers/.bashrc ... ENV changed please logout or if you are on a linux machine run 'bash -l'
Purge your old files
rmyers@linux05 (~) % resetenv --purge goodbye files rmyers@linux05 (~) %
Reset your GDM login files
rmyers@linux05 (~) % resetenv --gdm

