How do I permanently delete Linux history?

How do I permanently delete Linux history?
Answer
There may come a time that you want to remove some or all the commands in your history file. If you want to delete a particular command, enter history -d <line number> . To clear the entire contents of the history file,
execute history -c .
 

Tìm kiếm

Back
Top