There are many instances when we want to quit from shell without saving any command in history. We might have run by mistake some rookie command and you dont want to disclose it to others.
Run the command
 
#kill -9 $$
$ will provide the PID of the current shell.
Posted in: Linux.
Last Modified: October 25, 2013

2 thoughts on “Quit from shell without saving into history

Leave a reply