-
Use Metasploit, and issue the command ->
meterpreter > clearev
this command will clear the application, system, and Security logs. -
Or you can go to the Event Viewer > and clear the log manually.
-
Open Log Files are stored in the
/var/log
directory -
Erase the command history and set it to zero ->
export HISTSIZE=0
-
Shared the history file shred ->
zu root/.bash_history