Command-Line – How to Mute from the Command Line

alsacommand linepulseaudio

How do you mute the sound system from the command line?

Best Answer

Assuming you're using ALSA driver, run:

amixer set Master mute   
amixer set Master unmute

Or, you can just use:

amixer set Master toggle

to toggle mute on and off.