wc is used to count the characters/words/lines in a file or files. You might use it to see how productive you've been (did you finish that 5000 word essay you were supposed to write) or to see how productive some one else has been...
The options control characters/words/lines: with no options it gives all three:
$ wc notes
56 219 1607 notes
There are 56 lines, 219 words, 1607 characters.
$ wc -l notes
56 notes
I just wanted to know how many lines.
Chat with our AI personalities