清除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
发布时间: 2013-01-02 13:08:44 作者: rapoo
清除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