← Command encyclopedia

wc

Count lines, words and bytes.

Executable in the CoreQ simulator

Syntax

wc [-l] [-w] [-c] [FILE...]

Practise it now in the Linux sandbox. Type man wc there for a quick summary.

Related commands

cattacrevnlheadtailgrepsort