Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
watch
Execute command periodically, full-screen display
Syntax
watch [OPTION] COMMANDCommon Options
-nSet interval seconds (default 2)-dHighlight changes-tNo header-bBeep on command failure-eExit on command error-gExit when output changes-cInterpret ANSI colors-xPass command to execCommon Examples
watch df -hRefresh disk space every 2s
watch -n 5 free -mRefresh memory every 5s
watch -d nvidia-smiHighlight GPU changes
watch "ps aux | grep nginx"Monitor nginx process
watch -t dateShow time without header
watch -g "ls -l output.txt"Exit when file changes
watch -n 1 -d "ss -tlnp"Monitor ports with changes
watch -n 10 "curl -s http://localhost/health"Periodic health check
Related Tools
More Code & Dev Tools
HTTP Status Codes
Reference guide for HTTP status codes. Learn the meaning of ...
Code Share
Create and share code snippets online. Syntax highlighting a...
Timestamp Converter
Convert between Unix timestamp and human-readable date. Supp...
XML Formatter
Format and minify XML online. Beautify XML code or compress ...
JavaScript Formatter
Format and beautify JavaScript code online. Improve code rea...
IP Calculator
Calculate IP ranges, subnet masks, and CIDR notation. Networ...
Regex Cheatsheet
Quick reference for regular expression patterns. Character c...
Port Checker
Check if a port is open online. Test port availability and c...
HTML Formatter
Format and minify HTML online. Beautify HTML code or compres...
Code Minifier
Minify HTML, CSS, and JavaScript code. Reduce file size by r...
Color Extractor
Extract colors from images online. Get dominant colors and c...
CSS Gradient Generator
Generate CSS gradients online. Linear and radial gradients w...