$ cat -n file.txt
$ cat -A file.txt
| -n | number every output line |
| -A | show non-printing characters, tabs and line ends |
| -b | number non-blank output lines |
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.