how to rename folder on bash code example Example: rename folder bash mv /home/user/oldname /home/user/newname