move directory to another directory terminal code example
Example 1: ubuntu move folder to another directory
sudo mv /root/folder1 /home/folder2/
Example 2: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt