bashでhistoryにコマンドを保存しないようにする
#bash
#history
#履歴
以下を実行すれば良い。
$ unset HISTFILE
参考: