Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
if [ "$1" = '-h' -o "$1" = '--help' ]; then
me="${0##*/}"
echo "$me: list ALSA devices and relevant information."
exit 0
fi
if [ -e '/proc/asound/version' ]; then
cat '/proc/asound/version'