The Start and End of a File: head and tail

head prints the first lines of a file and tail the last, ten unless -n says how many, and tail -f keeps watching a file and prints each new line as it's added.

Updated

Cheat sheet for the lesson The Start and End of a File: head and tail: head prints the first lines of a file and tail the last, ten unless -n says how many, and tail -f keeps watching a file and prints each new line as it's added.
Category
Bash
Level
Apprentice
Tags
head-and-tail, linux, log-file, unix