To clear history Bash in Linux
If you want to clear the history of commands executed on our server, we can do this in a very fast way.
The following command will remove the story so that bash.
1 | cat /dev/null > ~/.bash_history && history -c && exit |
What do these commands?
Komenda 'cat’ empties file .bash_history currently logged in user.
Command “history -c” clean the history for the current user session.
Command “exit” the current session ends.
Related entries:
Nvidia drivers in Ubuntu
ack -l DB_NAME
wp-config.php
wp-admin/setup-config.php
wp-config-sample.php
wp-content/plugins/litespeed-cache/src/db-optm.cls.php
wp-content/plugins/newsletter/system/status.php
wp-includes/load.php
wp-includes/ms-load.php
We update packages and install the program 20.04
IRedMail mail server installation on Ubuntu 18.04
Full configuration of BIND and DNS on the new server





