Tag Info

Hot answers tagged

4

Open the file /etc/nanorc (run sudo nano /etc/nanorc) and comment out the line set historylog in this section: ## Enable ~/.nano_history for saving and reading search/replace strings. set historylog Which should then look like this: ## Enable ~/.nano_history for saving and reading search/replace strings. # set historylog Then exit&save and you're ...


1

A quick and dirty way could be to clear the file, then set read-only permissions to that file with: echo "" > ~/.nano_history chmod 400 ~/.nano_history



Only top voted, non community-wiki answers of a minimum length are eligible