If you are using bash:
- Edit or create a .inputrc file in your $HOME direcotry
- vim $HOME/.inputrc (for vim users, can substitute gedit for ‘vim’
- Append the following line:
- “set bell-style none” (without the “”)
If you are using ‘Terminal’ on Mac OSX see this stackoverflow question.
(To paraphrase: “With Terminal open, go to ‘Terminal’ > ‘Perferences…’, the click the ‘Profiles’ tab, then go to ‘Advanced’ and there is a ‘Bell’ subsection where you can uncheck “Audible Bell.”)