rename folder unix code example
Example 1: rename folder bash
mv /home/user/oldname /home/user/newname
Example 2: how to rename working directory in linux
$ mv <source_directory> <target_directory>
mv /home/user/oldname /home/user/newname
$ mv <source_directory> <target_directory>