Changing the size of the command history

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

To save a larger number of commands set the history variable in your shell start-up file. For example:

   set history=50

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


[Home] [Search] [Index] This site maintained by webmaster@cs.auckland.ac.nz