木曜日, 2月 04, 2010

listing init scripts, sorted by priority on RedHat

listing init scripts, sorted by priority on RedHat
grep '#\s*chkconfig:' /etc/init.d/* | sed 's/:#//; s/\/etc\/init.d\///;' | awk '{ printf "%2s %2s %7s %s\n", $4, $5, $3, $1 }' | sort

0 件のコメント: