bash rename directory code example
Example 1: bash rename foldr
# how to rename a folder:
mv oldNameOfFolder newNameOfFolder
# that's it
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: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
Example 5: how to rename working directory in linux
$ mv <source_directory> <target_directory>