Maybe you will encounter a situation like me, every time you use Linux
Terminal, when I heard a "beep" sound, I had the urge to tear down my chassis and drag the built-in beep device. Click "tick" when you press tab, and click "tick" when you press space. Every wrong operation in VI will make the machine laugh at you with a harsh "tick. Now, it's time to show who is the real master.
Maybe you haven't realized that this sound is not from an external audio output device of the system, but from a sound device inside the machine that I know is controlled by the BIOS, so next I will explain how to turn this little thing off.
Temporary solution
Sudo rmmod pcspkr
For Debian/Ubuntu
You just need to open your terminal and run the above command. For centos/RedHat/RHEL/Fedora
Linux users, they need to log on as root and then execute rmmod pcspkr
Permanent solution
For Debian/Ubuntu systems, run the following command as root:
Sudo echo "blacklist pcspkr">/etc/modprobe. d/blacklist
For centos/RedHat/RHEL/Fedora systems, run the following command as root:
Echo "alias pcspkr off">/etc/modprobe. conf
From: http://soft.chinabyte.com/ OS /343/11456843.shtml