MOTD ⚙ CHAPTERS 01 / 05
TODAY'S QUIZ0 / 5 STREAK0 days POINTS0 THE OPERATOROpen

$man 1 diff

Ten things the page says. Every one of them is on your machine right now — run the command above and check.

  1. 01

    Mandatory arguments to long options are mandatory for short options too.[man]

  2. 02
    -W, --width=NUM

    output at most NUM (default 130) print columns.[man]

  3. 03
    --suppress-blank-empty

    suppress space or tab before empty output lines.[man]

  4. 04
    -r, --recursive

    recursively compare any subdirectories found.[man]

  5. 05
    -X, --exclude-from=FILE

    exclude files that match any pattern in FILE.[man]

  6. 06
    --from-file=FILE1

    compare FILE1 to all operands; FILE1 can be a directory.[man]

  7. 07
    --horizon-lines=NUM

    keep NUM lines of the common prefix and suffix.[man]

  8. 08
    --speed-large-files

    assume large files and many scattered small changes.[man]

  9. 09
    --color[=WHEN]

    color output; WHEN is 'never', 'always', or 'auto'; plain --color means --color='auto'.[man]

  10. 10
    --palette=PALETTE

    the colors to use when --color is active; PALETTE is a colon-separated list of terminfo capabilities.[man]

$run --yourself

Read the page, then ask the command itself

Every command on the machine documents itself twice. Comparing the two is a habit that outlives any single page.

~
$ man 1 diff | head -40
$ diff --help 2>&1 | head -20

WHAT YOU SHOULD SEEThe top of the manual page, then the command's own built-in summary. The two often differ, and where they differ is worth noticing.

$quiz -n 5

Five questions, each one taking a term out of a line above. Ten points for each. Tap hear it to have a question read to you; answering plays the verdict.

QUESTION 1 OF 5

Which term completes this line from the page? “_____ arguments to long options are mandatory for short options too.”

From point 1 above.

QUESTION 2 OF 5

Which term completes this line from the page? “_____ space or tab before empty output lines.”

From point 3 above.

QUESTION 3 OF 5

Which term completes this line from the page? “_____ files that match any pattern in FILE.”

From point 5 above.

QUESTION 4 OF 5

Which term completes this line from the page? “keep NUM lines of the _____ prefix and suffix.”

From point 7 above.

QUESTION 5 OF 5

Which term completes this line from the page? “_____ output; WHEN is 'never', 'always', or 'auto'; plain --color means --color='auto'.”

From point 9 above.

Answer all five to bank your points.

$play --chapters 5

Five chapters, three voices. Tap one to jump — the player at the bottom of the screen follows.

download the full edition

$tee --everyone

Know someone with ten minutes and a terminal? Send them today's page. This is the card that appears when you post it:

Share card for diff(1): compare files line by line
2026-11-13 · 1200×630

$su - operator

The Operator has a dispatch on diff(1), and he files them for subscribers only. It is free. Join the club, or read about the series.

MOTD is a weekday reading of one manual page already installed on your own machine. Every statement is quoted from that page or from the GNU info documentation beside it, and every edition names the command that shows you the source.

archive · the operator · about · podcast · Feline Union

NARRATION · 3 VOICES · 01
Last login