how to rename a folder in terminal linux code example
Example 1: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
Example 2: how to rename working directory in linux
$ mv <source_directory> <target_directory>
mv [oldDirPath] [newDirPath]
$ mv <source_directory> <target_directory>