answersLogoWhite

0

You rename a directory the same way you rename a file. Use the 'mv' command to rename it.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the command to rename a given file in UNIX?

mv dir1 new_dir mv file file1 rename / move a file or directory


What are five unix commands?

cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...


What is Topmost directory in unix?

Root directory.


What special permission should be set on public directories to prevent users from deleting files that others users have contributed?

In UNIX, this is the "sticky bit"... if set on a directory, only the owner of the directory, the owner of the individual file, and the superuser are allowed to delete files created in that directory. If not set, anyone with write permission on the directory can delete or rename files in it.


How does Unix work as a multi-user operating system?

When a user logs in to a Unix system, the current working directory normally starts at the directory/file


What command is used to list the contents of a directory recursively in Unix?

ls -lR directory


What is the command that will change the current default directory to the root directory in Unix?

CD /


What is the Unix command to display the filesizes of a directory?

Once your in the directory you have to type the following: du -a


How is Topmost directory in unix represented?

Directory tree structure in Unix always starts at the top node, or "root" node. It contains all of the major level subdirectories underneath it. The root directory is called "/" (root).


What is root directory and how it is represented?

root directory is the top of the directory tree. it is \ on windows (or c:\ d:\ etc.) and / on unix/linux


Every unix directory has at least two hard links why?

The two links are for the current directory (.) and the parent directory (..). This is allow for easy directory traversal.


What is used to see the contents of a directory in Unix?

The ls command.