From time to time, linux will give a beep sound on the virtual machine, and the audience will be upset. as a result, we finally cannot stand it. we decided to completely solve this problem. The solution is as follows: 1. it takes effect immediately, it will also take effect after the restart. The global configuration file is used. when it is started, the file will be read and the content of the file will be executed in sequence [root @ dhshmysql] # tail-1 ~ /. Bash_profilesetterm-blength0 [roo
From time to time, linux will give a beep sound on the virtual machine, and the people who listen are upset. as a result, they finally cannot stand it. they decided to completely solve this problem. The solution is as follows:
1. it takes effect immediately and will take effect after restart. The global configuration file is used to read the file and execute the file content in sequence when it is started.
[Root @ dhsh mysql] # tail-1 ~ /. Bash_profile
Setterm-blength 0
[Root @ dhsh mysql] # source ~ /. Bash_profile this is for the current effective immediately
2. it takes effect permanently. set the set bell-style in/etc/inputrc to none.
[Root @ dhsh mysql] #
[Root @ dhsh mysql] # head-2/etc/inputrc
# Do not bell on tab-completion
Set bell-style none