chang directory name in ubuntu code example
Example 1: rename folder command line linux
mv old-name new-name
Example 2: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
mv old-name new-name
mv [oldDirPath] [newDirPath]