Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NAME

history - display the command history list

SYNOPSIS

history [N]history -c

DESCRIPTION

With no options, display the command history list with line numbers. An argument of N lists only the last N lines.

OPTIONS

-c
Clear the history list by deleting all the entries.

EXAMPLES

To view the list of commands executed in the FluidShell prompt, use the below command:

Code Block
history

To repeat a command from the history use the !n option.
The historical reference begins with an exclamation mark (at the beginning of the command). The characters typed immediately after the exclamation mark identify the event you wish to refer to.

Code Block
!70