When linux is disabled on a virtual machine, a beep sound may occur from time to time.

Source: Internet
Author: User
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


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.