Managing Linux Directories
In linux directories are treated like files. They can be created, deleted, moved and copied from a shell prompt, using commands similar to those for files.
Creating Directories
In order to create a new sub-directory in a directory,you must have permissions for creating it. Most users have these permissions in their home directory (and its sub-directories) and the /tmp/ directory.
To create a new directory using a shell prompt, use the command mkdir.
eg: mkdir directory-name
Deleting Directories
To delete an empty directory from a shell prompt, enter the command rmdir. To delete a directory that may not be empty ,enter the command rm -rf directory-name.
Dot Directories
Applications create "dot" directories as well as dot files. Dot files are a single hidden configuration file — a dot directory is a hidden directory of configuration and other files required by the application. The non-configuration files in these directories are generally user-specific, and will be available only to the user who installed them.