Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
nl
Number lines of file content
Syntax
nl [OPTION]... [FILE]...Common Options
-b aNumber all lines-b tNumber non-empty lines only-n lnLeft align line numbers-n rnRight align line numbers-wSet line number widthCommon Examples
nl file.txtShow file with line numbers
nl -b a file.txtNumber including empty lines
Related Tools
More Code & Dev Tools
Timestamp Batch Converter
Convert multiple timestamps at once. Batch process Unix time...
Color Extractor
Extract colors from images online. Get dominant colors and c...
XML Formatter
Format and minify XML online. Beautify XML code or compress ...
Cron Expression Generator
Generate and validate Cron expressions online. Convert Cron ...
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
CSS Gradient Generator
Generate CSS gradients online. Linear and radial gradients w...
cURL Converter
Convert cURL commands to Python, JavaScript, PHP, Go, and mo...
Color Palette Generator
Generate harmonious color palettes online. Create color sche...
Regex Cheatsheet
Quick reference for regular expression patterns. Character c...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
Color Converter
Convert between HEX, RGB, HSL color formats. Color picker wi...
Code Formatter
Format and beautify code online. Support multiple languages ...