当前位置:科普知识站>IT科技>

Linux怎么清除历史命令

IT科技 阅读(8.49K)

1、打开linux系统,在linux的桌面的空白处右击。

Linux怎么清除历史命令

2、在弹出的下拉选项里,点击打开终端。

Linux怎么清除历史命令 第2张

3、输入history命令,查询历史记录。

Linux怎么清除历史命令 第3张

4、输入history -c命令回车运行,即可删除历史记录。

Linux怎么清除历史命令 第4张