c_hi.htm
来自「mips架构的bootloader,99左右的版本 但源代码现在没人更新了」· HTM 代码 · 共 78 行
HTM
78 行
<title>The hi Command</title><h1>hi</h1><!--INDEX "hi command" "command history" -->The hi command lists the command history.<p></dl><h2>Format</h2><dl><dd>The format for the hi command is:<p><pre>hi [cnt]</pre>where:<p><table><tr><td>cnt </td><td>is the number of commands to list.</td></tr></table><p>Entering the command with no parameters lists the last 200 executed com-mand lines to the screen.<p></dl><h2>Functional Description</h2><dl><dd>The hi command shows the command history, together with the history number for each command, in reverse order (the last command entered is listed first; the first command entered is listed last). The command num-bers are reset to zero each time the system is reset.<p>Entering the hi command with no arguments lists the last 200 commands. This option is useful for determining the history number for a particular command.<p>The user can page through the output of the hi command, one screen at a time.<p>The optional cnt parameter selects a set number of lines to be output.The history list is intentionally in the reverse order to that used ina C shell, so that the latest entry is displayed first. If a commandline is identical to the previous command, it is not added to thecommand history.<p>Examples illustrating the use of the hi command follow.<p><pre>PMON> hi 3 Display the three last commands.14 hi 313 hi 12 lPMON> hi Display the entire history, using more13 hi to control the screen output.12 l11 to10 t9 l 8 g start main 7 hi 6 g5 ls -a @epc4 d Pmon+200+0t13*4 more-(q)</pre><p></dl><h2>See Also </h2><dl><dd><a href="c_sh.htm">sh</a>command, which maintains a command history.</dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?