wc
Linux · Text · available in the simulator
What it does
Count lines, words, and characters.
Syntax
wc [-l] [-w] [-c] [-m] [archivo...]
Options and parameters
-lCount lines.
wc -l archivo.txt-wCount words.
-cCount bytes.
-mCount characters.
-LDisplay the length of the longest line.
Usage examples
wc archivo.txtwc -l archivo.txtwc -lwm archivo.txt