Linux Basics

32 / 87
Use wc command

To find the number of characters, words, and lines, use wc command.

If you are only looking for number of lines you could use:

wc -l