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

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.