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

Free online resources to practice

Photo Credit:  johnhain  - pixabay.com There are many free online resources for us to practice almost any or specific skills as long as we have an Internet connection.

Check free space with disk free and disk usage

df -h -h: display result in KB, MB, GB Check free disk with disk free (df)

Coursera: Notes

Learn Without Limits - Build skills with courses, certificates, and degrees online from world-class universities and companies.