Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
true
Return success exit code (0)
Syntax
trueCommon Options
--helpShow help--versionShow versionCommon Examples
trueReturn success (exit 0)
true && echo "success"Conditional execution
while true; do echo "loop"; sleep 1; doneInfinite loop
command || trueIgnore command failure
if true; then echo "yes"; fiConditional check
: > file.txtEmpty file (colon = true)
Related Tools
More Code & Dev Tools
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
XML Formatter
Format and minify XML online. Beautify XML code or compress ...
JavaScript Formatter
Format and beautify JavaScript code online. Improve code rea...
WebSocket Tester
Test WebSocket connections and messages in real-time. Connec...
Code Share
Create and share code snippets online. Syntax highlighting a...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
Git Cheatsheet
Quick reference for common Git commands. Search, copy, and u...
CSS Gradient Generator
Generate CSS gradients online. Linear and radial gradients w...
Color Contrast Checker
Check color contrast ratios for WCAG compliance. Ensure acce...
Timestamp Converter
Convert between Unix timestamp and human-readable date. Supp...
Code Formatter
Format and beautify code online. Support multiple languages ...
Port Checker
Check if a port is open online. Test port availability and c...