Using the Linux Command Line
cp <source> <destination>
● Short for “copy”, this command will allow you to create a
duplicate of the file you specify as <source>, which it
will save in <destination>.
● If you wish to copy entire directories, you’ll need to
modify the command slightly:
cp –r <source directory> <destination directory>
The “-r” stands for recursive, and tells cp to dive down
into the directory and copy everything inside of it
(including any subdirectories it might contain).