1

i using centos 4 (32 bits) and bash.

I want to know how disable the visual bell in all the shells?

shilovk
  • 11,718
  • 17
  • 75
  • 74
La Chamelle
  • 2,927
  • 4
  • 36
  • 54

1 Answers1

5

You can try :

set bell-style none

To disable it in all the shells, you can add this line to your ~/.inputrc file (ie the .inputrc file which is at the root of your home dir).

krtek
  • 26,334
  • 5
  • 56
  • 84
  • 4
    That command should go in `~/.inputrc`. If you put it in `~/.bashrc` it has to be `bind 'set bell-style none'`. – Dennis Williamson Mar 01 '11 at 16:48
  • you can also uncomment/add the above line in /etc/inputrc like in this answer. https://stackoverflow.com/a/36726662/969984 – nizam.sp Jul 07 '17 at 07:52