how to move file to another folder in terminal ubuntu code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: ubuntu move folder to another directory
sudo mv /root/folder1 /home/folder2/
cp -a ./source/. ./dest/
sudo mv /root/folder1 /home/folder2/