Control Linux sound volume via the command line
I want to set the volume at the command line to 40% before I run a game. I found that amixer does a pretty good job of this:
amixer --card 0 sset 'Master' 26
The volume number is on a scale of 0 to 64 (which seems weird).