Changing the size of the command history

By default the previous 128 commands are saved in the command history list. Set the environment variable HISTSIZE to save a smaller or larger number of commands. For example:

   HISTSIZE=50;export HISTSIZE

This will keep a history of the fifty (50) most recent commands that you have used.


[Home] [Search] [Index] This site maintained by webmaster@deslab.mit.edu