Disable bells and beeps in terminal windows

For example, when you get annoying beeps when using vi on Red Hat linux

xset -b

now edit /etc/inputrc and add this line:

set bell-style none

If you are using GNOME, you can do the following:
Choose Preferences–> Keyboard–>no beep