history command

  1. Andy

    How to clear bash history without leaving any trace

    In some occasion, if you don't want to leave any trace on what you've done on your Linux bash console or terminal or SSH client, use the following command: history -c && history -w && exitThe command above clears any history, writes an empty value of history (since it was cleared) and exits the...
Back
Top