nl
Verified for current stable LTS
Nl Command: Number Non Blank Lines File
Use for number non blank lines file with Nl. Exact CLI syntax to number non blank lines file using Nl.
When to use this: Use for number non blank lines file with Nl.
Command Syntax
nl <path/to/file> nl <path/to/file> Command Breakdown
nl is the base executable for this command.
FAQ
Purpose: Exact syntax to number non blank lines file using Nl.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Nl Command: Number Body Lines Including Blank
nl -b <a|n> <path/to/file> Nl Command: Number Body Lines Matching Regex nl -b p'FooBar[0-9]' <path/to/file> Nl Command: Read From Stdin Number Lines <command> | nl - Nl Command: Specify Line Numbering Format nl -n <rz|ln|rn> Nl Command: Specify Line Numbering Width nl -w <col_width> <path/to/file>