Skip to content

Instantly share code, notes, and snippets.

@valvallow
Created November 28, 2011 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valvallow/1400468 to your computer and use it in GitHub Desktop.
Save valvallow/1400468 to your computer and use it in GitHub Desktop.
volume
#!/bin/sh
if [ $# -eq 0 ]; then
echo 'Usage: volume <num 0 - 100>' 1>&2
exit 1
fi
amixer set Master on "$1"%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment