M1-S01 · Beginner · Ubuntu 24.04

Help-desk scavenger hunt

You are the help desk. Answer 15 questions from colleagues without using the web. Use only: man, help, --help, apropos / man -k, whatis, type, and the shell.

About 40 minutesWSL2 / VM / containerRead the lesson
Set up your workspace

Ubuntu 24.04 in WSL2, a VM or the course container. No board required.

Bash
sudo apt update && sudo apt install -y man-db manpages manpages-dev strace
mkdir -p ~/m1/s01 && cd ~/m1/s01

The proof command matters more than the answer: it shows you can find the answer again.

Nothing checked off yet. Start with task 1.

Task 1 of 15

Which section of the manual documents file formats, and which section documents system calls?

Task 2 of 15

Which ls option prints sizes as 4.0K, 12M instead of raw bytes? (It only shows sizes together with another option. Which one?)

Task 3 of 15

Is echo a builtin, a program on disk, or both? How does Bash choose which one runs?

Task 4 of 15

Where on disk is python3?

Task 5 of 15

What does cd - do?

Task 6 of 15

A colleague wants "the command that shows free disk space per filesystem" but forgot its name. Find it without guessing.

Task 7 of 15

write appears in two manual sections. What does each one describe?

Task 8 of 15

How do you re-run the command number 7 from your history without retyping it?

Task 9 of 15

Which key combination searches your history backwards as you type?

Task 10 of 15

How many directories are in your PATH? List them one per line.

Task 11 of 15

What does type ll print on your machine? What is ll?

Task 12 of 15

What exit status does Bash return for a command that does not exist? Show it.

Task 13 of 15

Inside a man page, how do you search for the word recursive, and then jump to the next match?

Task 14 of 15

Which version of Bash are you running?

Task 15 of 15

Challenge: explain, in 3-4 sentences, why cd cannot be a separate program in /usr/bin. Prove that cd does not create a new process using strace.

Done when

  • All 15 rows have an answer and a proof command.
  • Tasks 12 and 15 include the exact terminal output you saw.
  • You used at least four different help tools across your answers.

Found a problem? Report an issue or Edit this page on GitHub.

Keep the conversation going.

Questions and fixes are public, so the next learner finds the answer too.

Find your next step

↑ ↓ to move · Enter to open · Esc to close