JANOS remembers the last 16 unique commands entered during a single session. This allows you to user the UP_ARROW and DOWN_ARROW keys to scroll through the recent commands. A command can easily be re-executed by scrolling back to it and hitting ENTER. A prior command can be first edited. That may be useful when wanting to add an option to its execution.
The HISTORY command displays the recorded commands. They are numbered but the HISTORY command does not give you the means to select from the list.
bruce_dev /> history
3: help passwd
4: passwd tech
7: useradd -cd tech
11: help usermod
Note that in addition to scrolling using the up and down keys you can use the TAB key to retrieve from the list.
TAB when used at the beginning of the command line offers valid commands in addition to file names. It includes those from the recent HISTORY. If you want to recall the ‘help usermod’ command given the above HISTORY you can simply type ‘h’ followed by TAB until you get the line that you are seeking. Note that TAB presents options alphabetically.