Level 1
0 / 100 XP

Welcome

12345678

Big files are everywhere on Linux — logs, data dumps, config exports. You rarely want to dump the whole thing to the screen. Two commands let you peek at just the part you care about:

  • head — show the first lines of a file
  • tail — show the last lines of a file

You'll also meet tail -f, which follows a file live — the single most useful command for watching a log in real time.

Your files live in the projects folder: numbers.txt (20 numbered lines) and access.log (a small web log). First move into that folder.

Restoring lab progress…