Quit shell without saving history

Type this command before quitting your shell and history of your commands typed during current session will not be saved :

unset SAVEFILE;unset HISTFILE;

Leave a Reply

Your email address will not be published. Required fields are marked *