(you can use gedit or any editor of your choice instead of vim)
1. if you want to disable the beep temporarily (until the next startup)
sudo rmmod pcspkrGo and check, it is gone!!!
2. if you want to disable it forever (until you enable it again)
sudo vim /etc/modprobe.d/blacklistthen add this line in the file:
blacklist pcspkrnow save the file and from the next reboot, you won't hear it again.
3. another way to disable it forever (until enabling it again)
sudo vim /etc/inputrcnow, look for the line where it says "set bell-style audible", change it to one of these:
set bell-style visible #or set bell-style nonesave and reboot and it is gone.
Hope this tutorial helped you get free of the annoying beep when you work with system.