Changing the size of the command history

By default only the previous command is saved in the command history list.

Set the environment variable HISTSIZE. 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@softlab.ece.ntua.gr