此内容没有您所选择的语言版本。
3.6. The Management CLI Command History
3.6.1. About the Management CLI Command History 复制链接链接已复制到粘贴板!
.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
3.6.2. View Management CLI Command History 复制链接链接已复制到粘贴板!
Prerequisites
Procedure 3.20. View the Management CLI Command History
Run the
historycommandFrom the Management CLI, enter thehistorycommand:[standalone@localhost:9999 /] history
The CLI command history stored in memory since the CLI startup or the history clear command is displayed.
3.6.3. Clear the Management CLI Command History 复制链接链接已复制到粘贴板!
Prerequisites
Procedure 3.21. Clear the Management CLI Command History
Run the
history --clearcommandFrom the Management CLI, enter thehistory --clearcommand:[standalone@localhost:9999 /] history --clear
The history of commands recorded since the CLI startup is cleared from the session memory. The command history is still present in the .jboss-cli-history file saved to the user's home directory.
3.6.4. Disable the Management CLI Command History 复制链接链接已复制到粘贴板!
Prerequisites
Procedure 3.22. Disable the Management CLI Command History
Run the
history --disablecommandFrom the Management CLI, enter thehistory --disablecommand:[standalone@localhost:9999 /] history --disable
Commands made in the CLI will not be recorded either in memory or in the .jboss-cli-history file saved to the user's home directory.
3.6.5. Enable the Management CLI Command History 复制链接链接已复制到粘贴板!
Prerequisites
Procedure 3.23. Enable the Management CLI Command History
Run the
history --enablecommandFrom the Management CLI, enter thehistory --enablecommand:[standalone@localhost:9999 /] history --enable
Commands made in the CLI are recorded in memory and in the .jboss-cli-history file saved to the user's home directory.