This is an old revision of this page, as edited by Rwwww (talk | contribs) at 04:14, 4 June 2009 (→References: add cat history of software). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 04:14, 4 June 2009 by Rwwww (talk | contribs) (→References: add cat history of software)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Command history" – news · newspapers · books · scholar · JSTOR (September 2008) (Learn how and when to remove this message) |
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.