click
here for more groovy stuff like this
if [
"$1" = '-h' ]; then echo; echo
"[01;33musage:[00m [01;35msrc [<output filename>][00m"; echo; exit; fi
if [
"$1" = '' ]; then out=~/screenshot.raw; else out=
$1; fi
cat /dev/fb0 >
${out}
echo
echo
"[01;33mscreenshot saved to[00m [01;35m$out[00m"echo