Linux——清除history的记录

简介: Linux——清除history的记录

前言

清除记录

步骤

##清除用户操作历史记录 
# echo > .bash_history 
##清除所有历史
# history -cw

学无止境,谦卑而行.

目录
相关文章
|
存储 Unix Linux
Linux命令历史记录管理:使用history命令提高工作效率
Linux命令历史记录管理:使用history命令提高工作效率
777 0
|
存储 Linux Shell
linux基本功之历史记录history命令实战
linux基本功之历史记录history命令实战
423 0
linux基本功之历史记录history命令实战
|
4月前
|
Linux
linux centos history 查看命令历史 显示时间戳
linux centos history 查看命令历史 显示时间戳
221 1
|
3月前
|
存储 运维 Linux
|
5月前
|
存储 安全 Linux
|
5月前
|
Linux
linux中history命令-2
linux中history命令
123 1
LINUX下用CTRL+R快速搜索HISTORY历史命令,快速索引到之前使用过的命令行语句
LINUX下用CTRL+R快速搜索HISTORY历史命令,快速索引到之前使用过的命令行语句
|
5月前
|
Linux
linux中history命令-3
linux中history命令
45 0
|
5月前
|
Linux
linux中history命令-1
linux中history命令
33 0
下一篇
无影云桌面