I have been plagued for years by my terminal beeping thumping and generally anoying me when I do something wrong. It’s actually quite easy to fix though. Just add this one liner to ~/.inputrc and no more beeping:
set bell-style visible