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

InstructorCameron Nokes

Share this video with your friends

Send Tweet

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.