for m in $(lsmod | tail -n +2 | cut -d ' ' -f 1) ; do v=$(/sbin/modinfo -p $m) [ -n "$v" ] && echo -e "== $m ==\n$v" done