Difference between revisions of "Grep -h"

From wikieduonline
Jump to navigation Jump to search
 
Line 2: Line 2:
  
  
 +
 +
[[Bots]]: <code>head -10000 /var/log/nginx/access.log | [[grep -ih]] [[-o]] "[[:alpha:]]*bot" | sort -rn | uniq</code>
  
 
  [[grep -w]]
 
  [[grep -w]]

Latest revision as of 15:57, 27 September 2024


Bots: head -10000 /var/log/nginx/access.log | grep -ih -o "alpha:*bot" | sort -rn | uniq

grep -w
grep -o


ack, ag, grep, egrep, fgrep, agrep, ngrep, pgrep, awk, sed, strings, tr, tail, mtail, git grep, wc, uniq, LogQL, findstr (Windows), rg, git-grep, cut

Advertising: