how to rename a folder in ubuntu code example
Example 1: rename folder bash
mv /home/user/oldname /home/user/newname
Example 2: ubuntu rename folder
sudo mv oldName newName
Example 3: rename command ubuntu
cd /home/user/docs/files
mv file1.txt file2.txt
Example 4: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
Example 5: how to rename working directory in linux
$ mv <source_directory> <target_directory>