Count one record per line.
Section: Processing JSONL files
Count JSONL records
bash
bash
wc -l events.jsonlExplanation
Because JSONL uses one record per line, line count often equals record count.
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 Processing JSONL files
Filter JSONL lines by a field
Select only matching objects from a JSONL stream.
Extract one field from each JSONL record
Print a property from every line.