How to disable bash history in Ubuntu 16.04

Append either line below to the end of your .bashrc file, start a new bash terminal and history should now be turned off.

or

Don’t forget clear out the old history file too.

 

  • is there any way to recover command history

    • Not if no record of it was made. Sorry

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak