AWK on the command
I’m pretty sure this is the only example of AWK I’ve ever used. But its come in hand more than a few times.
cat /var/log/apache2/loathsome-access.log | awk '{ print $1 }' | uniq
I’m pretty sure this is the only example of AWK I’ve ever used. But its come in hand more than a few times.
cat /var/log/apache2/loathsome-access.log | awk '{ print $1 }' | uniq