Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Quit from shell without saving into history  (Read 2436 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Quit from shell without saving into history
« on: January 25, 2014, 10:51:34 pm »
Quit from shell without saving into history

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.

==