Friday, 21 July 2017

clear terminal history in linux

Below command is useful to delete terminal history

history -c 

Also you can use below command for complete deletion of terminal history

cat /dev/null >~/.bash_history && history -c && exit

To delete uses of USB and other external h/w logs, login with root user and do the below

cd /var/log

rm -f messages-*

No comments:

Post a Comment

Cloning database with RMAN

Below are the steps to clone production database(primedb) to UAT database(clonedb)   STEP1 :- Check the both servers are able to connect ...