Linux Commands Reference - Complete Linux Command Guide
Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.
cp
Copy files and directories
Syntax
cp [OPTION]... SOURCE DESTCommon Options
-rRecursive copy-vVerbose output-iPrompt before overwrite-pPreserve attributes-uUpdate only newer filesCommon Examples
cp file.txt backup/Copy file
cp -r dir1/ dir2/Copy directory recursively
cp -p file.txt backup/Preserve attributes
Related Tools
More Code & Dev Tools
Code Formatter
Format and beautify code online. Support multiple languages ...
XML Formatter
Format and minify XML online. Beautify XML code or compress ...
JavaScript Formatter
Format and beautify JavaScript code online. Improve code rea...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...
WebSocket Tester
Test WebSocket connections and messages in real-time. Connec...
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 ...
Cron Expression Generator
Generate and validate Cron expressions online. Convert Cron ...
HTML Formatter
Format and minify HTML online. Beautify HTML code or compres...
Color Palette Generator
Generate harmonious color palettes online. Create color sche...
Code Analyzer
Analyze code quality online. Check for errors, warnings, and...
cURL Converter
Convert cURL commands to Python, JavaScript, PHP, Go, and mo...