vim /etc/inputrc 把set bell-style none打开 测试用Ctrl + g可以知道有没有去掉 转载于:https://www.cnblogs.com/ziqiuqiandao/p/3316871.html