"Managing Files Using Bash and Z Shell" course by Mateo Prigl at Pluralsight
UNIX Filesystem
wc command will show you how many lines, words and characters are in the
file.
You can add the l option to just see the number of lines.
$ wc filename
12 29 148 filename
1/1 © Copyright 2020 by Pluralsight