The newly installed centos may encounter unexpected problems, which also brings a lot of inconvenience to beginners. This is a very common problem, because beginners may see more things on the surface of Linux, as well as what they see in comparison with windows. This is especially evident for users from windows to Linux. The following is an analysis of a "beep" alarm triggered when a centos instance is started and shell is run incorrectly or for various reasons. We need to make sure that this problem is not issued by the sound card, it is the buzzer of the motherboard, so it cannot be solved by shutting down the speaker. The sound is harsh. You can disable it in this way:
Get administrator permissions, edit/etc/inputrc, find the # Set bell-style none item, and comment it out. The value range of bell-style is none, visible, and audible. If you want to remove the alarm sound, change the value of set bell-style in/etc/inputrc to visible, and remove the annotation, restart the system.
--------------------------------------------------------------------------
To take effect immediately:
Run rmmod pcspkr
To disable it permanently: # echo "rmmod pcspkr">/etc/rc. d/rc. Local.
For more information, see click to open the link.