看板 Linux 關於我們 聯絡資訊
※ 引述《qroqrota (qroqrota)》之銘言: : 請問板上的前輩, : 一般在CentOS下的Gnome-terminal輸入過的指令可以用上下鍵使其重現, : 請問有什麼方法才能把這些輸入過的資料清除呢? 來源:http://www.infohit.net/blog/post/clear-bash-history.html 1. Make sure you have only one bash instance open with your username 2. Use history -c && rm -f ~/.bash_history 3. Your done! -- 第1點很重要 不然會被寫回去 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.36.16.129
qroqrota:已經清除了~~謝謝~ 11/07 08:06