Ubuntu : Turning Off Sound Via Commandline

How do you turn the sound off and on remotely on an ubuntu/linux system ?   Assuming you are using teh ALSA driver, which most are, you can ssh over and run the following command

% amixer set Master mute
% amixer set Master unmute

Or you can simply run

% amixer set Master toggle

Either way works the same.    Now the game is quiet and nobody knows how it happened except me 🙂 hahahahaha.