You rename a directory the same way you rename a file. Use the 'mv' command to rename it.
mv dir1 new_dir mv file file1 rename / move a file or directory
cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...
Root directory.
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.
When a user logs in to a Unix system, the current working directory normally starts at the directory/file
ls -lR directory
CD /
Once your in the directory you have to type the following: du -a
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).
root directory is the top of the directory tree. it is \ on windows (or c:\ d:\ etc.) and / on unix/linux
The two links are for the current directory (.) and the parent directory (..). This is allow for easy directory traversal.
The ls command.