Skip to content

Glossary: Command Line for IT: Bash and PowerShell

wc

Also written: wc -l

Counts the lines, words and characters in a file. wc -l counts lines, for example 8110 in auth.log.

Where the book teaches it