临时:sudo rmmod pcspkr永久/etc/inputrc文件中把set bell-style none前的注释去掉,改为set bell-style off转自:http://blog.csdn.net/h_armony/article/details/7394677http://blog.csdn.net/lskyne/article/details/38843171