This turns off and on the master volume switch in Linux from the command-line. This is useful for scripting.
amixer sset Master off amixer sset Master on