Step 1/2: The end

tail is the opposite of head: the last 10 lines, or N with -n N. The newest log entries are usually at the end.

$ tail -n 3 app.log
Beginnertail
The last 2 lines
Show only the last 2 lines of names.txt.
headNext lesson:wc