Skip to content

[Linux] How to Turn Off the Beeping Sound of the Tab Key When Complete Command in Terminal

Many people are troubled by the beeping sound when use tab key to auto-complete command.
There are two types of beeping sounds, one is emitted by speaker or stereo, and other one is emitted by the host hardware device.

Introduction

Many people are troubled by the beeping sound when use tab key to auto-complete command.

There are two types of beeping sounds, one is emitted by speaker or stereo, and other one is emitted by the host hardware device.

The following records two different ways to turn off the beeps.


Speaker (Stereo) Emit

Edit the inputrc file (vim can instead of any editor you like):

sudo vim /etc/inputrc

Comment out the line of # set bell-style none. Restart the terminal, and you should no longer hear the beeping sound from the speaker (or stereo).


Host Hardware Device Emit

Most of this beeping sound occurs when a graphical desktop environment is not used. To close, just use the following command:

setterm -blength 0



References


Read More

Tags:

Leave a ReplyCancel reply

Click to Copy
Exit mobile version