Linux Terminal Glossary
›
File Viewing & Editing
bat -n file.txt
Category:
File Viewing & Editing
bat -n file.txt
Copy command
View file with line numbers only, no decoration
Displays a file with bat but shows only line numbers, without extra decoration like the box border.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.