Skip to main content

Linux command: wc - word count

Photo by <a href='https://unsplash.com/@sharonmccutcheon'>Sharon McCutcheon</a> on <a href='https://unsplash.com/s/photos/counting'>Unsplash</a>

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.

Popular posts from this blog

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'