Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SHELLを終了するときにTCSHのSHELL履歴をクリアするにはどうすればよいですか?
history -cを.logoutに入れようとしましたが、機能しませんでした。
ご意見をお聞かせください。
ありがとうございました。PA
履歴をクリアする代わりに、保存しない方が良いオプションです。
savehist変数に保存される行数を設定するか、またはに設定することができhistfileます/dev/null。
savehist
histfile
/dev/null
でセッションを終了します
kill -9 $$