grep '^98.97.40.8 ' access_main.log > /var/tmp/clipping.logzgrep '^34.234.176.30 ' access_main.log-202411*.gz access_main.log-20241107 access_main.log > /var/tmp/clipping.logcat access_main.log | awk '{print $1}' | sort | uniq -c | sort -nr | head -10head -n 10 some.csvCount the lines with instances of a word in a file
grep 'WORD' some.csv | wc -lHow many of these instances are between a timeframe
grep 'WORD' some.csv | grep -E '2022-12-01T03:[0-5][0-9]:[0-5][0-9]' | wc -l