CMD | grep

|^^|

GREP COMMAND

In this example using grep command, you can view the number of lines by executing grep -rin option.

[rex@ssi rerevisedprofilingscript]$ grep "PZIP" 6-var-v3.sh PZIP=$1; PDIR=$(tar -tJf $PZIP | head -n 1 | sed -e 's/\///g'); echo "Initialize Profiling Script: $PZIP"; echo "Extracting $PZIP"; [rex@ssi rerevisedprofilingscript]$ grep -rin "PZIP" 6-var-v3.sh 4:PZIP=$1; 5:PDIR=$(tar -tJf $PZIP | head -n 1 | sed -e 's/\///g'); 16:echo "Initialize Profiling Script: $PZIP"; 20:echo "Extracting $PZIP";

eof