all of that is in the .bash_history file in your home folder ...
i never had to do this, or even think about this before ....
so i dont' know if there is a conventional
way for this to be done
but what i can think of that will clear it other than deleting line by line is :
echo "" > .bash_history
but the above command will be in there after execution