Command history

From Wikipedia, the free encyclopedia

Command history is a common feature in operating system shells (such as Korn shell, Bash, cmd.exe, etc.), computer algebra programs, and other software that interacts with the user through a command line interface. Command history involves making previously-entered commands, usually up to some limit, easy to once again input to the command line. The usual method is for the user to use the Up (and Down) keyboard keys to navigate through the command history, but some programs also offer the facility for the user to press a certain function key which will show a menu of recent commands, from which the user can select one by typing a number.

Command history takes advantage of the fact the user may want to execute the same command many times, such as a developer frequently compiling and running a program, or else the new command may be a small modification of a previous one, hence necessitating little typing to modify it. It therefore saves a lot of typing for the user and increases the speed and accuracy of input to the computer.

[edit] See also