词条 | Command history |
释义 |
Command history is a feature in many operating system shells, computer algebra programs, and other software that allows the user to recall, edit and rerun previous commands. Command line history was added to Unix in Bill Joy's C shell of 1978; Joy took inspiration from an earlier implementation in Interlisp.[1] It quickly became popular because it made the C shell fast and easy to use. History has since become a standard feature in other shells, including ksh, bash and Microsoft's cmd.exe. History addressed two important scenarios:
In Joy's original C shell, the user could refer to a previous command by typing an exclamation,
The usual implementation today is to combine history with command-line editing. The cursor keys are used to navigate up and down through the history list and left or right to anyplace on the line, where the user can simply type a desired change. But some implementations are menu-based: The user presses a certain function key which displays a menu of recent commands, which the user can select one by typing a number. See also
References1. ^An'>Introduction to the C shell by Bill Joy. 1 : User interfaces |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。