Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Which bash command will indicate the sound output speaker(output or no output), so I can reset my web radio when it crashes?

share|improve this question
It sounds like this question does not want to test that the speakers work, he wants to find out if the OS is currently playing any sound through them. Thus he doesn't want to play sound but to find out if any sound is currently playing. – thomasrutter Dec 13 '15 at 12:14

This is a really good command testing out all speakers.

speaker-test -t wav -c 6

Remarks on usage

There is no loud noise heard when running this command, except a voice saying "front left, front center, front right...". This command will continue to repeat the testing, until the user had pressed Ctrl+Z keys to stop the testing.

share|improve this answer
+1 because tested working in Xubuntu 14.04. This works well and there is no loud noise when running this command. – clearkimura Dec 13 '15 at 8:55

Assuming that all you want is to check if the there is an output on the speaker, Use

share|improve this answer
yeah and for more info you can use this – Raja Jun 9 '12 at 3:32
OP said speaker-test is too noise for him in duplicate question which should be closed soon. Alternatives? – izx Jun 9 '12 at 23:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.