Pages

Wednesday, December 31, 2014

Don't track history for the current session starting after the command

$ nohist(){ export HISTFILE=/dev/null; }

Yo run the `nohist` command and after that the commands won't get stored in the history file for the current session.


This makes no permanent changes.




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1K2vWuG

No comments:

Post a Comment