# 3WARE disk controller (by Radoslaw Bak) if type tw_cli > /dev/null ; then for C in $(tw_cli show | awk 'NR < 4 { next } { print $1 }'); do tw_cli /$C show all | egrep 'Model =|Firmware|Serial' done fi