Este contenido no está disponible en el idioma seleccionado.
3.6. The Management CLI Command History
3.6.1. About the Management CLI Command History Copiar enlaceEnlace copiado en el portapapeles!
.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 Copiar enlaceEnlace copiado en el portapapeles!
Prerequisites
Procedure 3.20. View the Management CLI Command History
Run the
historycommandFrom the Management CLI, enter thehistorycommand:[standalone@localhost:9999 /] history
[standalone@localhost:9999 /] historyCopy to Clipboard Copied! Toggle word wrap Toggle overflow
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 Copiar enlaceEnlace copiado en el portapapeles!
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
[standalone@localhost:9999 /] history --clearCopy to Clipboard Copied! Toggle word wrap Toggle overflow
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 Copiar enlaceEnlace copiado en el portapapeles!
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
[standalone@localhost:9999 /] history --disableCopy to Clipboard Copied! Toggle word wrap Toggle overflow
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 Copiar enlaceEnlace copiado en el portapapeles!
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
[standalone@localhost:9999 /] history --enableCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Commands made in the CLI are recorded in memory and in the .jboss-cli-history file saved to the user's home directory.