Command History and Command Line EditingAs 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
Next: Working with previously entered Up: The Korn Shell Previous: Example 4-2: Sample .profile   Contents |