rename dir debian 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>