Copy command syntax as follows
cp SOURCE DEST
Copy file from one location to another location
cp file1 /tmp/file2
To copy a directory, including all its files and subdirectories, to another directory
cp -R /tmp/test /home/user/dest
cp SOURCE DEST
cp file1 /tmp/file2
cp -R /tmp/test /home/user/dest
Our website uses cookies to improve your experience. Learn more
Ok