PrintableCharts

THE ORDER OF REDIRECTIONS

Redirections are done from left to right, and “2>&1” copies where the output points at that very moment: the file first — and it holds two lines; the copy first — one

Built as a memo rather than a table: the thing worth hanging it up for reads across the room, with the full reference in smaller type below it.

Three sizes in one archive — from a sheet on the fridge to a poster on the wall.

Free

By downloading you agree to the Terms.

Formats
A4 · A3 · A2
What you get
Print-ready PDFs, one per size, with every letterform converted to outlines — nothing to install, nothing to shift.
Subject
code · everyone · memo · study

Read by rows: where each descriptor points after each word of the command. The tint marks the file; everything else stays on the screen. All of it was run in a scratch directory.

QUOTE THE DIGIT AND THERE IS NO REDIRECTION

The digit before the operator is part of the redirection only while it is bare: “If n is quoted, the number shall not be recognized as part of the redirection expression”. The standard’s own example “echo \2>a” was run — the file “a” holds the character 2 itself, not the error stream.

And quoting the operator itself removes the redirection altogether: “If any part of redir-op is quoted, no redirection expression is recognized”. So “echo 2\>a” creates no file at all and prints “2>a” as an ordinary string. Both examples are the standard’s.

On the sheet

  • Read by rows: where each descriptor points after each word of the command. The tint marks the file; everything else stays on the screen. All of it was run in a scratch directory.
  • Colour carries meaning, but meaning never rests on colour alone — the sheet reads in black and white.
  • Nothing about how it was made: the sheet carries only what the reader needs.

Printing

  • Three sizes in the archive: A4 — 210×297 mm, A3 — 297×420 mm, A2 — 420×594 mm.
  • All text is converted to outlines. No fonts to install, and nothing shifts on another machine.
  • White background and sparing fills — it prints on a home printer without draining the cartridge.
  • Margins of at least 10 mm: a home printer cannot print to the edge.
  • No stroke thinner than 0.3 mm, so nothing disappears in print.

Why the numbers can be trusted. Every countable number here is computed from data rather than typed in, and the sheet must pass 10 independent checks before it is allowed to build — how many items there are, the order they come in, and the claim in the highlighted box itself. If one fails, there is no file.

More like this

Free printable the order of redirections chart (PDF) — Printable Charts