File that contains backspace sound

What file gets played when you hit backspace in an empty entry field or at the prompt in a terminal window?


Solution 1:

It is /usr/share/sounds/ubuntu/stereo/bell.ogg.

Other options can be seen in the Sounds settings (Bark, Glass, Sonar, etc.) depending on which desktop, etc. is installed. These are also located in /usr/share/sounds. For example, with GNOME:

$ ls /usr/share/sounds/gnome/default/alerts/                                                                                                                                                            
bark.ogg  drip.ogg  glass.ogg  sonar.ogg

Fishing around in /usr/share/sounds, the actual default if Ubuntu hadn't added their own would be /usr/share/sounds/freedesktop/stereo/bell.oga.

(If you're not actually running a GUI, then it will be the system beep as mentioned in the other answer.)

Solution 2:

It is not a file, it is the system beep that you can also trigger by echo -ne '\007'.