Clearing Tracks

Linux

Clearing tracks on Linux.

Whenever you successfully gain access to a Linux target, all of your activity is being logged in the form of bash history. We can clear the bash history by running the following command:

history -c

We can also clear the bash history by deleting the content of the .bash_history file. This can be done by running the following command:

Last updated