In the linux console, how can I disable the terminal ringing function?

Source: Internet
Author: User
In the linux console, how does one disable the terminal-general Linux technology-Linux technology and application information? For more information, see the following. This is because we have recently conducted experiments on linux servers, and there is no GUI, only CUI. When you use the TAB to complete the command, it is always "complete .." Sound, sound too loud, want to turn off. Finally, we found this method. On Centos and ubuntu, we can turn off the terminal Bell.

You can use setterm to close the terminal bell sound, as shown below:

Use setterm

# Setterm-blength 0

If you want to close the terminal bell at startup, add this command to/etc/conf. d/local. start. However, this only disables the ring tones of terminals currently in use. If you want to disable logging on other terminals, redirect the output of this command to the target terminal, as shown below:

Use setterm (bis)

# Setterm-blength 0>/dev/vc/1

You need to replace/dev/vc/1 with the terminal that you want to disable the ring tones.

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.