Curiosity killed cat

Thomas Næsje

The cat command

Has a nice name

Shows file contents

"cat out file.txt"

cat file.txt | grep hi

The man page

man cat

Combining files

Showing small files

Can we do better?

The less command

Show any file

Smarter

man less

The grep command

Search file content

cat file.txt | grep hi

grep hi file.txt

Options order

Other programs

head

tail

awk

sed

more

In general

Understand

Discover

Re-evaluate

Extra bits (homework)

tee

rg - RipGrep

bat- Bat (batcat)