I am looking for a command to count number of all words in a file. For instance if a file is like this,
today is a
good day
then it should print 5
, since there are 5
words there.
text processingwc
I am looking for a command to count number of all words in a file. For instance if a file is like this,
today is a
good day
then it should print 5
, since there are 5
words there.
Best Answer
The command
wc
aka. word count can do it:example