In case you are like me, you have experienced the violent urge to rip apart your computer cabinet and pull out that tiny internal speaker every time the Linux terminal/vi beeps at you. Tab beeps, backspace beeps, every stupid action in vi causes it to mock at you with that silly beep. Well it's time to show who is the real master.
In case you haven't noticed, the beep doesn't come from the system's big external speakers. It is from a speaker that is inside your cabinet which according to me should be used solely by BIOS. So today we are going to disable that little speaker.
Temporarily disabling the system beep
For Debian/Ubuntu users open a terminal and run the above command. For CentOS/Redhat/RHEL/Fedora Linux log-in as root and then run rmmod pcspkr
Permanently disabling the system beep
For Debian/Ubuntu based systems :
For CentOS/Redhat/RHEL/Fedora Linux users, run