Home » » Quit from shell without saving into history

Quit from shell without saving into history

Written By 1 on Sunday, July 31, 2011 | 10:14 PM

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.

kill -9 $$ will do the needful as $$ will provide the PID of the current shell.

0 Comment:

Post a Comment