第一种方法: [root@lc ~]# vim /etc/inputrc 把这一行的注释去掉重启即可 set bell-style none 第二种方法: [root@lc ~]# rmmod pcspkr