renaming a directory in linux code example
Example 1: ubuntu rename folder
sudo mv oldName newName
Example 2: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
sudo mv oldName newName
mv [oldDirPath] [newDirPath]