Same log, a different question. This time you put the commands together yourself.
The developers want a list of pages that do not exist on the site but are still requested. The server answers such requests with code 404. They need the three most frequent of those pages — that is where they will start fixing links.
Find the missing pages
In ~/pipe-lab, find the three pages in access.log that most often answered with code 404, and write them to top-404.txt together with their request counts — the most frequent on the first line.
Goals · 0 of 2
- Write three lines to top-404.txt not done yet
- Rank the pages with code 404 by request count not done yet