up previous next contents
Next: Working with previously entered Up: The Korn Shell Previous: Example 4-2: Sample .profile   Contents

Command History and Command Line Editing

As you enter commands on the command line for execution when using the Korn shell, each command is stored in a history list. By default your most recent 128 commands are kept in the history list. By default, the history list is stored in a file located in your home directory, named .sh_history.

The history list can easily be customized. For instance, the default size of the list can be increased/decreased:

$  HISTSIZE=200
$  export HISTSIZE



Subsections
up previous next contents
Next: Working with previously entered Up: The Korn Shell Previous: Example 4-2: Sample .profile   Contents