Wc

From Linuxintro
Revision as of 12:22, 5 February 2012 by imported>ThorstenStaerk (Created page with "wc is a command to output the '''w'''ord '''c'''ount. <code>wc -l</code> counts the number of lines that are output. wc is typically used with piping like this: ls -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

wc is a command to output the word count. wc -l counts the number of lines that are output. wc is typically used with piping like this:

ls -l | wc -l

Counts how many files exist.