The incident team exported one visitor address per request to ~/access.log.
Requests from the same visitor are scattered through the file. Put identical addresses next to each other before counting them.
Sorting lines
Put matching lines together
Your goal
Save every line of ~/access.log, sorted in this machine's byte order, to ~/sorted-visits.txt. Keep repeated addresses: each line represents one request. Leave the source unchanged.
Starting Linux…
✔ Solved
What you learned
How was this challenge?