linux bash rename directory code example
Example 1: rename folder bash
mv /home/user/oldname /home/user/newname
Example 2: rename folder command line linux
mv old-name new-name
mv /home/user/oldname /home/user/newname
mv old-name new-name