Linux Terminal Glossary
›
File Viewing & Editing
nl file.txt
Category:
File Viewing & Editing
nl file.txt
Copy command
Number the lines of a file and print to stdout
Adds line numbers to a file's output. Similar to cat -n but with more formatting options.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.