How to turn off the terminal’s hardware beep on major Linux distributions

On Linux systems, the beeping is really annoying, especially when trying to use TAB to complete commands on a Linux terminal. If you are new to Linux, see the 30 Linux commands most commonly used by novices for examples. So how do you permanently disable this beep? Less worry because I have the solution for you.
We will disable it on Ubuntu, Debian, Kali Linux, Fedora, CentOS and RHEL.

It depends on the terminal bash shell you choose.

1) On Ubuntu, Debian and Kali Gnome terminals

First, open the Gnome terminal and click: Terminal> Edit> Profile Preferences> General> Terminal Bell, uncheck the check box for the terminal bell. See screenshot below.

For Kali Linux and Debian, see below.

How to turn off the terminal's hardware beep on major Linux distributions

If you are using an xterm terminal emulator, type:

echo xset b off >> ~/.xession

For vim; Vi IMproved, programmer text editor, turn off the beep by adding the following line to the file~/.vimrc.

vim ~/.vimrc

Then add

set vb

At the end of the file, press Esc, then press: wq to save and exit. Without vim, a single command line can complete the task.

echo set vb >> ~/.vimrc

That’s it, how to check the computer hardware configuration in Linux how to change your MAC address in Kali Linux and Linux how to reset the root and user password in CentOS 7.0 and RHEL how to configure a static IP address in Ubuntu Server 14.04

Search tags:
Eliminate beeps on Kali Linux
How to remove beep sounds on Debian and Ubuntu
Delete beeps permanently on Gnome terminal

Sidebar