3.7.3. 清除管理 CLI 命令历史
前提条件
过程 3.25. 清除管理 CLI 命令历史
运行
history --clear
命令在管理 CLI 里,输入history --clear
命令:[standalone@localhost:9999 /] history --clear
[standalone@localhost:9999 /] history --clear
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
结果
自 CLI 启动后记录的命令历史将从会话内存里删除。这些命令历史仍然保存在用户主目录的 .jboss-cli-history
文件里。