Friday, December 18, 2009

HOWTO: sort /etc/hosts by IP numerically

sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 /etc/hosts

Thursday, May 10, 2007

rsync recovery

rsync -vaux /tmp_netapp/.snapshot/nightly.7/etc/ /etc/

Tuesday, February 13, 2007

Friday, March 31, 2006

Sun Help Desk

Sun Help Desk

sarcheck

How to set up sar for sarcheck: http://www.sarcheck.com/sarhowto.htm

WWN HPUX

#HP-UX FC WWN port/node name extractor

for tach in `ls /dev/td*`
do
echo $tach
fcmsutil $tach|egrep 'Driver state|World Wide Name'
done