how to rename a directory in ubuntu code example
Example 1: ubuntu rename folder
sudo mv oldName newName
Example 2: rename folder bash
mv /home/user/oldname /home/user/newname
sudo mv oldName newName
mv /home/user/oldname /home/user/newname