Renaming a directory is one of the most basic operation that can be performed in the operating system. This tutorial demonstrates how to do that in Linux.
In Linux, directory can be renamed by using
mv command. Directory that should to be renamed is specified as first argument, new directory name is specified as second argument:
mv /tmp/test /tmp/new_test
All the files inside the directory will not be affected. Files will remain as it is.
Leave a CommentCancel reply