How to completely disable the logging of UbuntuLinux

Source: Internet
Author: User
How to completely disable logging tulinux: 1. Disable Logging in shell. Disable vi/etc/inputrc and add setbell-style = nonesetbell-stylenonesetbell-styleoff to close the user vi ~ /. Inputrc add setbell-style = none2. disable the bell vi/etc/v in vi and vim.

To completely disable the Ubuntu Linux ring:

1. Close the bell in shell.

Disable vi/etc/inputrc

Add set bell-style = none

Set bell-style none

Set bell-style off

Disable User vi ~ /. Inputrc

Add set bell-style = none

2. Disable the rings in vi and vim.

Vi/etc/vimrc

Vi/etc/virc

Open the above two files and add

Set vb t_vb =

In the X Window System, you can use the xset command as follows:

Xset B off

(Enter xset and press enter to obtain the xset Command Option)

In the Linux console, how can I disable the terminal RING:

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, this method is found, and the terminal bell can be switched off on CentOS and ubuntu.

You can use setterm to disable the terminal RING sound, as shown below:

Code 7.1: Use setterm

# Setterm-blength 0

Related Article

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.