Heads or Tails?

Using the UNIX command line, you can type head <file> to view the first 10 lines, and tail <file> to view the last ten lines.

Another one is wc <file> — short for word count, which shows the number of lines, words and bytes in a file.