首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

扫除linux历史记录

2013-01-02 
清除linux历史记录输入密码时,不小心当成命令输入了,请问调用history -c和history -w是不是就能够清除我输

清除linux历史记录
输入密码时,不小心当成命令输入了,请问调用history -c和history -w是不是就能够清除我输入的命令,别人是不是不会再看到我之前输入的命令了?
[解决办法]
 -c     Clear the history list by deleting all the entries.
 -w     Write the current history to the history file, overwriting the history file

热点排行