The command wc<filenames> counts lines, words and characters for each file. Using wc -l counts
number of lines only. (wc is short for word count) For example, the following counts
the number of words in the standard dictionary in the system.
[alice@onyx ~]$ wc -l /usr/share/dict/words
479828 /usr/share/dict/words
[alice@onyx ~]$