Re: [問題] 請問如何清除Gnome-terminal中輸入的指令

看板Linux作者 (囧)時間12年前 (2011/11/07 00:15), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《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

11/07 08:06, , 1F
已經清除了~~謝謝~
11/07 08:06, 1F
文章代碼(AID): #1EjhA5pg (Linux)
文章代碼(AID): #1EjhA5pg (Linux)