Open the scroll

Start in your lab: cd /lab/reading.

  • cat FILE prints a file from top to bottom. The name comes from concatenate, because cat can join files together.
  • file PATH tells you what something is before you open it: text, a directory, a program.
cat ballad.txt
file ballad.txt
file notes

Real world: run file on anything you downloaded before you cat it. Printing a binary file sprays garbage characters into your terminal.