Clear the Terminal or Bash History

Do you need to learn or know how to clear the Terminal or Bash history on macOS?
All it takes is two lines of code which makes it simple to execute.


Stephan Pringle

About The Author: Stephan Pringle writes about hardware and software for several online publications. To see more material from Stephan, you can follow his personal tech blog at and tech vlog at