BASH AWK
From Indie IT Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
HOWTO: AWK:
PRINT TABS
awk '{print FNR "\t" $1 "\t" $2}'
SEARCH A COLUMN
awk '/proftpd.*Login successful/{print $7}' secure |sort |uniq -c |sort -nr