Hands-on task
This task is step 13 of the course “cut, sort, uniq and friends”
Pipeline: top-3 URLs
In /root/access.log there are lines IP METHOD URL. Collect the top-3 most frequent URLs (the third field) in the format count URL (in descending order of frequency) and write them to /root/top.txt. Use a pipeline of text utilities.
What you'll practise:
- pipelines
- cut
- sort
- uniq
- frequency report