how to change a directory name in cmd ubuntu code example Example: how to rename working directory in linux $ mv <source_directory> <target_directory>