rename a folder on ubuntu code example Example: how to rename the directory in terminal mv [oldDirPath] [newDirPath]