Ubuntu彻底清除history命令历史记录
# 第一步: 删除 .bash_history 文件
rm -rf ~/.bash_history
# 第二步: 清空命令历史记录
history -c
版权声明:
作者:佛西
链接:https://foxi.buduanwang.vip/linux/491.html/
文章版权归作者所有,未经允许请勿转载
如需获得支持,请点击网页右上角
作者:佛西
链接:https://foxi.buduanwang.vip/linux/491.html/
文章版权归作者所有,未经允许请勿转载
如需获得支持,请点击网页右上角
THE END
1
二维码
海报
Ubuntu彻底清除history命令历史记录
Ubuntu彻底清除history命令历史记录
![](https://foxi.buduanwang.vip/wp-content/uploads/2021/04/1618037321-logo_200x200.png)
ocean king penavega 2017![网站主](https://foxi.buduanwang.vip/wp-content/themes/CorePress-Pro/static/img/zhan.svg)