how to rename a directory in linux ubuntu code example
Example 1: ubuntu rename folder
sudo mv oldName newName
Example 2: how to rename working directory in linux
$ mv <source_directory> <target_directory>
sudo mv oldName newName
$ mv <source_directory> <target_directory>