Support for history in the console

As of LCOS 10.94, entered CLI commands are persistently saved by default and are therefore available after a reboot. The entered commands can be displayed with the "history" command and recalled with the "up arrow" and "down arrow" keys on the keyboard. Persistent storage can be disabled via configuration.

Command Description
history [options][<count>] Displays a list of the last executed commands. With the command !#, commands from the list can be called directly by their number (#): For example, !3 executes the third command in the list.The history is saved persistently across reboots. See also 2.11.99 Persistent-History.
  • -c: Clears the stored history.
  • -w: Writes the current history to a file.
  • -a: Appends the commands from this session’s history to the end of a file.
  • <count>: Outputs only the number of commands specified in <count> on the command line.

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo