shell cp dir code example
Example 1: copy directory command in linux
$ cp -R <source_folder> <destination_folder>
Example 2: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
$ cp -R <source_folder> <destination_folder>
$ cp -R <source_folder>/* <destination_folder>