2009年3月9日 星期一

清除Linux 使用記錄

每個用戶的根目錄下有兩個隱藏檔:.bash_history和.recently-used。
前者記錄了所有終端和文本方式中使用過的命令;
後者記錄所訪問過的檔。

>/root/.bash_history
>/root/.recently-used
以 root 登入為例

Ref: http://unix-cd.com/unixcd12/article_5990.html

標籤:

0 個意見:

張貼留言

訂閱 張貼留言 [Atom]

<< 首頁