3.7. The Management CLI Command History
3.7.1. Use the Management CLI Command History
The Management CLI features a command history functionality that is enabled by default in the application server installation. The history is kept both as a record in the volatile memory of the active CLI session, and appended to a log file that saves automatically in the user's home directory as
.jboss-cli-history. This history file is configured by default to record up to a maximum of 500 CLI commands.
history command by itself will return the history of the current session, or with additional arguments will disable, enable or clear the history from the session memory. The Management CLI also features the ability to use your keyboard's arrow keys to go back and forth in the history of commands and operations.
Functions of the Management CLI history