Linux Labs

First steps / Stage 12 of 15

Pipelines: an answer from several commands

Not running Starting usually ~20 s
Leave the lesson

Step 5 of 7 · on a machine · 4 min

Broken links

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.

Exercise · do it

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.

Sign in and start The machine is available after signing in

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

Step 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
Ubuntu 24.04

Step 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
Loading…