linux cp directory to another directory code example
Example 1: how to copy directory to another directory in linux
cp -r <DIRECTORYPATH> <WHEREYOUWANTTOCOPYTO>
#for example
cp -r /home/thor/asia/india/bangalore /home/thor/
Example 2: cp directory linux
cp -R path_to_source path_to_destination/