I've got a few, but this is probably the worst. file_systems="`df | awk '{ print $1 }' | grep "/dev/" | sed s/"\/dev\/"// \ | sed s/[0-9]//g | grep -v "md"` `cat /etc/raidtab 2> /dev/null | grep device \ | awk '{ print $2 }' | sed s/"\/dev\/"// | sed s/[0-9]//g`"