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, Measure-Object -Line, Measure-Object -Character.

Popular posts from this blog

Office 365: Alert Policies - Creation of forwarding/redirect rule

The default Creation of forwarding/redirect rule alert policy will be triggered when end-users create rule to forward or redirect mail

Free Software Foundation

Richard Stallman founded the Free Software Foundation in 1985 to support the free software movement, promoting the universal freedom to study, distribute, create and modify computer software.

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.