cp
π cp Command in Linux
cp Command in Linuxπ§° Common Options
Option
Description
π Basic Syntax
cp [options] [source] [destination]π Common Commands
Copy a File
Copy a Directory Recursively
Verbose Mode (Show Progress)
Copy and Preserve File Attributes
Copy Without Overwriting Existing Files
Copy with Backup (e.g., file1.txt becomes file1.txt~)
file1.txt becomes file1.txt~)βοΈ Copy Multiple Files to a Directory
Copy Multiple Files to a Directory
π‘ Additional Tips
Last updated