Friday, May 26, 2006

Crontab , Crypt

GAWK --- the gnu version of nawk
Grep
grep '[a-z]'[0-9]' ---> lines of file and stdline
grep -v '^From' -----> Find the lines with out pattern
grep -l '^[cC]'*.f ----> Find file which contain a pattern
grep -c['Ss]uccess' --> Count the lines with pattern
grep -u 'lAbEh' ---> Search while ignoring cases
grep -n 'mo.*y' ---> File print the line number in front of the lines
grep -n 'mo.*y'


If there are no stupid questions, then what kind of questions do stupid people ask? Do they get smart just in time to ask questions?
Scott Adams

No comments:

Post a Comment

Powered By Blogger