Course lesson

Use head and tail to Get the Start or End of Text in Bash

Head and tail are handy tools for getting just the beginning or end of a text stream. In this lesson, we’ll look at getting the first or last lines from the beginning or end of text.

Duration
2 min
Access
Free
Transcript
Available

Head and tail are handy tools for getting just the beginning or end of a text stream. In this lesson, we’ll look at getting the first or last lines from the beginning or end of text.