mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-11-25 15:17:24 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
9 lines
754 B
Markdown
9 lines
754 B
Markdown
# NL (Number Lines)
|
|
|
|
The `nl` command numbers lines in text files, providing an overview of line locations. By default, it numbers only non-empty lines, but this behavior can be modified. Syntax: `nl [options] [file_name]`. If no file is specified, nl reads from stdin. Valuable for text processing when line numbers are needed for reference or debugging purposes.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@nl command](https://www.computerhope.com/unix/nl.htm)
|
|
- [@article@Linux nl Command: Line Numbering](https://labex.io/tutorials/linux-linux-nl-command-line-numbering-210988)
|
|
- [@article@Master the Linux 'nl' Command: A Comprehensive Guide](https://hopeness.medium.com/master-the-linux-nl-command-a-comprehensive-guide-79c6adf50fa9) |