copy paste dirs terminal linux code example
Example 1: copy folder linux
cp -R dir1 dir2
Example 2: linux make a copy of a folder in another foldedr
$ scp -r <source_folder> <destination_user>@<destination_host>:<path>
cp -R dir1 dir2
$ scp -r <source_folder> <destination_user>@<destination_host>:<path>