$ wc -l file.txt
$ wc -w -c file.txt
| -l | count lines |
| -w | count words |
| -c | count bytes |
| -m | count characters |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.