Difference between revisions of "HISTORY"

From ICE Enterprises

(shows the history of commands executed in the shell)
 
(No difference)

Latest revision as of 18:04, 27 April 2020

shows the history of commands executed in the shell

<cmd>	Name of the command to search for
<num>   Number of instances to print out

This command prints out the history of commands that have been typed up to
a set number.  The first argument, if any, is a string that will be matched
against the command names to limit the history to just those commands which
begin with this string.  A second, numerical argument can also be given to
limit the number of matched instances that will be printed out.

Examples:

  Show the history of commands
  nM> history

  Show all of the previous commands that start with fft
  nM> history fft

  Show the past three commands that start with fft
  nM> history fft 3


Switches:
  /CS - Use a case-sensitive compare to entered <cmd>