In this video I'll show how to use the head and tail commands to select the given lines from the file.