Linux command: wc - word count wc - print newline, word, and byte counts for each file wc -l : Count lines wc -w : Count words wc -c : Count bytes wc -m : Count chracters Related articles In Powershell, use Measure-Object -Word. Labels LPIC-1