Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
head
Output first part of files
Syntax
head [OPTION]... [FILE]...Common Options
-nShow first N lines-cShow first N bytes-qQuiet modeCommon Examples
head file.txtShow first 10 lines
head -n 20 file.txtShow first 20 lines
head -c 100 file.txtShow first 100 bytes
Related Tools
More Code & Dev Tools
API Tester
Test HTTP APIs online with support for GET, POST, PUT, DELET...
Color Contrast Checker
Check color contrast ratios for WCAG compliance. Ensure acce...
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
Color Extractor
Extract colors from images online. Get dominant colors and c...
JavaScript Obfuscator
Obfuscate and protect JavaScript code. Make your code harder...
Port Checker
Check if a port is open online. Test port availability and c...
Code Formatter
Format and beautify code online. Support multiple languages ...
JavaScript Formatter
Format and beautify JavaScript code online. Improve code rea...
Color Palette Generator
Generate harmonious color palettes online. Create color sche...
CSS Gradient Generator
Generate CSS gradients online. Linear and radial gradients w...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...