How to turn off Ubuntu error sound(specially on terminal) in Ubuntu 18.04?
Add the following line to the bottom of your
bind 'set bell-style none'
New terminals will have no error sound.
For turn off terminal sound you need go to terminal, then go to tab edit > preferences and uncheck terminal bell.