Announcement

Collapse
No announcement yet.

How to quit from shell without saving history.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to quit from shell without saving history.

    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.
Working...
X