Pages

Check the number of words/lines/characters in a file

You may know how to check the number of words/characters/lines in a MS Word file. But, how to check these in pdf file or any file?

Here comes the command "wc"

To use this, type the following command (for example to find the number of words in a pdf file).

wc -w fileName.pdf

This will return the number of words in the file.

No comments:

Post a Comment

You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...