Clear bash history on Kali Linux

Asked

Viewed 18 times

-2

The searches I did on clearing the bash history were useless. I used history -c, but the terminal did not accept an option -c, nor -w. I tried to delete the file /.bash_history, but there is no file /home/usuario/. bash_history. Bleachbit also did not work in this sense.

1 answer

-3


Kali linux uses ZSH as the terminal. Try to see if there are any of these files to clean or edit them:

$HOME/.zsh_history
$HOME/.zhistory

Browser other questions tagged

You are not signed in. Login or sign up in order to post.