DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring and working with the shells

Resetting the environment

From time to time you may want to reset your environment; either because you have changed your .profile or .login files, or because you've erased a variable.

To reset the environment, re-execute your login file. Under the Bourne or Korn shells, type the following:

   $ . $HOME/.profile
Under the Korn shell (but not the Bourne shell) you can also type the following:
   $ . ~/.profile
(The dot is a command to execute the following file.)

Under the C shell, type the following:

   % source $HOME/.login

Next topic: Some features to make life easier
Previous topic: A sample login script

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003