Lesson 10: Reading Files — cat, head, tail
So far we saw file names. Now we peek inside. `cat` shows the whole file, `head` the start, and `tail` the end. Three safe ways to read without changing anything.
cat is reading a book cover to cover. head is reading just the first page, and tail the last page.
- cat
- A command that prints a file's entire content
- head
- Shows the first lines of a file (10 by default)
- tail
- Shows the last lines of a file (10 by default)