Count content in files or streams.
Section: Viewing and Text Basics
Count lines words and bytes
bash
bash
wc -l users.csvExplanation
Great for line counts in logs, CSVs, or batch outputs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Viewing and Text Basics