rename directory command line code example
Example 1: ubuntu rename folder
sudo mv oldName newName
Example 2: rename folder bash
mv /home/user/oldname /home/user/newname
Example 3: rename folder command line linux
mv old-name new-name
Example 4: change folder name using cmd
Rename dir_oldname dir_newname