At many instances you want to quit from the command line without saving the history.

You can able to do it by running below command.

Code:
[email protected] [~]# kill -9 $$
As $$ will provide the PID of the current shell.