Command historyΒΆ

The CLI stores the history of typed commands in a circular memory.

Typed commands can be recalled with the UP/DOWN keys. The CTRL-R shortcut can also be used to search backward in the history. Then the command line may be modified with LEFT/RIGHT/INS/DEL/CTRL-A/CTRL-E keys.

The command show history displays the command history in chronological order:

vsr> show history
   1 cliconfig
   2 pager enabled false
   3 save
   4 exit
   5 show history

In addition to the CTRL-R shortcut, a command can be easily found using the match output modifier:

vsr> show history | match pager
   2 pager enabled false
  42 show history | match pager

The history can also be flushed at any time with the flush history command.