how to move a folder from terminal code example
Example 1: ubuntu move folder to another directory
sudo mv /root/folder1 /home/folder2/
Example 2: command line move file
mv file.txt ~/Desktop/Folder
sudo mv /root/folder1 /home/folder2/
mv file.txt ~/Desktop/Folder