Question: how do i permanently delete linux 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. Bash shell users find it in their home directory as .