I found this script and I am trying to adapt it for my use
but I don't know what this grep statement is doing.
set db_tape=`/opt/openv/volmgr/bin/vmquery -bx -rn 0 | sort | grep Offs | grep '\-\-\-'|head -1 | awk '{print $1}'`
Can someone help me out on the grep.
Thanks !!!
but I don't know what this grep statement is doing.
set db_tape=`/opt/openv/volmgr/bin/vmquery -bx -rn 0 | sort | grep Offs | grep '\-\-\-'|head -1 | awk '{print $1}'`
Can someone help me out on the grep.
Thanks !!!