how to copy and move directory in linux 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>
Example 3: ubuntu terminal how to copy and move file
cp your-file.txt ~/Documents/
Example 4: ubuntu terminal how to copy and move file
cp ~/Downloads/your-file.txt ~/Documents/new-name.txt