日期:2014-05-16  浏览次数:20639 次

清除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