vim /etc/inputrc
set bell-style visible
#bell-style的取值范围是:none, visible, audible,
想把警告声去掉把/etc/inputrc 中的set bell-style 的值改为 visible,并将注释去掉,再reboot 或 shutdown -r now重启系统就OK啦。
本文介绍如何通过修改/etc/inputrc文件中的bell-style设置来关闭终端警告声。具体操作为将bell-style设为visible并重启系统。
vim /etc/inputrc
set bell-style visible
#bell-style的取值范围是:none, visible, audible,
想把警告声去掉把/etc/inputrc 中的set bell-style 的值改为 visible,并将注释去掉,再reboot 或 shutdown -r now重启系统就OK啦。
1万+
846

被折叠的 条评论
为什么被折叠?