Hands-on task
Top-3 IPs from a log
From the access log /var/log/app/access.log, extract the three most frequent IP addresses (the first field of each line) and write them into /root/top3.txt — one per line, most frequent first.
- pipelines
- awk
- sort
- uniq
- frequency analysis