~/wc(1)
en
NAME
wc - count lines, words and characters
SYNOPSIS
wc [-lwc] [file ...]
DESCRIPTION
Counts what it is given, or what it is handed down a pipe. With no flags it prints all three: lines, words, characters.
A note’s lines are its paragraphs here, the same shape head, tail and
grep -n count in, because that is how the shell is handed a note. A file
you wrote yourself has the lines you put in it.
OPTIONS
- -l
- lines only
- -w
- words only
- -c
- characters only
EXAMPLES
wc -l about.md
ls | wc -l
grep -r vegan | wc -l