Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
echo
Display text to stdout
Syntax
echo [OPTION]... [STRING]...Common Options
-nNo trailing newline-eEnable escape interpretation-EDisable escape interpretation\nNewline (with -e)\tTab (with -e)\aAlert/bell (with -e)\cSuppress further output (with -e)\033[...mANSI color codes (with -e)Common Examples
echo "Hello World"Print text
echo -n "no newline"Print without newline
echo -e "Line1\nLine2"Print multiline text
echo $PATHPrint environment variable
echo $?Print last exit code
echo "text" > file.txtWrite to file (overwrite)
echo "text" >> file.txtAppend to file
echo -e "\033[31mRed\033[0m"Print colored text
Related Tools
More Code & Dev Tools
Code Analyzer
Analyze code quality online. Check for errors, warnings, and...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...
Timestamp Batch Converter
Convert multiple timestamps at once. Batch process Unix time...
IP Calculator
Calculate IP ranges, subnet masks, and CIDR notation. Networ...
Color Contrast Checker
Check color contrast ratios for WCAG compliance. Ensure acce...
CSS Gradient Generator
Generate CSS gradients online. Linear and radial gradients w...
WebSocket Tester
Test WebSocket connections and messages in real-time. Connec...
Regex Cheatsheet
Quick reference for regular expression patterns. Character c...
Color Extractor
Extract colors from images online. Get dominant colors and c...
Code Formatter
Format and beautify code online. Support multiple languages ...