cat with syntax highlighting
low risk
A cat clone with syntax highlighting, line numbers and git integration (batcat on Debian).
| Flag | Meaning |
|---|---|
-n | Numbers only |
-A | Show non-printable characters |
-l | Force a language |
bat /etc/nginx/nginx.confPretty-print a file · explain & risk-check →Reference text is hand-written and may be incomplete — check man bat for your version. Test destructive commands on a non-production system first.