Uncategorized

Thumbnail of post image 030

先に結論

HISTCONTROL=ignorespace
をコマンドラインに打ち込み、先頭にスペースを1つ入れて実行すると、入力したコマンドが履歴に残らなくなる。

例# 通常のコマンド入力cd ./hogehistory> ...