How do I permanently delete Linux terminal history?

Việt Quân

New member
How do I permanently delete Linux terminal history?
Answer
Removing history
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
. The history file is stored in a file that you can modify, as well.
 

Tìm kiếm

Back
Top