在深夜里用linux总不希望打扰到别人,系统的蜂鸣总会让人不自然。 rmmod pcspkr就可以了。 还有更好的办法,参见http://www.linuxidc.com/Linux/2009-04/19713.htm。 或者 在/etc/inputrc文件中把 set bell-style none 前的注释去掉,改为 set bell-style off。