If you’ve ever wanted to erase your command history (much like your browser history), take note of these two commands:
List history of entered commands:
history
Clear the history of entered commands:
history -c
That’s it. There really isn’t a huge reason to clear the command cache other than cleaning your slate, just in case you did something you are not supposed to 😉
_professor