directory (file systems)

Information about directory (file systems)

In computing, a directory, catalog, or folder[1] is an entity in a file system which contains a group of files and/or other directories. A typical file system may contain thousands (or even hundreds of thousands) of directories. Files are kept organized by storing related files in the same directory. A directory contained inside another directory is called a subdirectory of that directory. Together, the directories form a hierarchy, or tree structure.

Overview

A computer's file system can be visualized as a file cabinet, where high-level directories are represented by the drawers and lower-level subdirectories may be represented as file folders within the drawers.

Historically, and even on some modern embedded devices, the filesystems either have no support for directories at all or only have a flat directory structure, meaning subdirectories are not allowed; there is only a group of top-level directories each containing files. The first popular fully general hierarchical filesystem was that of UNIX. This type of filesystem was an early research interest of Dennis Ritchie.

In modern times in Unix-like systems, especially Linux, directory structure is defined by the Filesystem Hierarchy Standard.

In many operating systems, programs have an associated current working directory in which they execute. Typically filenames accessed by the program are assumed to reside within this directory if the filenames are not specified with an explicit directory name.

Some operating systems restrict a user's access to only their home directory or project directory, thus isolating their activities from all other users.

On Unix, directories are regarded as a type of file.[2]

The folder metaphor

The name folder, presenting an analogy to the file folder used in offices, is common on most modern operating systems' desktop environments including Mac OS, Mac OS X, Microsoft Windows, and many environments for BSD and Linux. Folders are often depicted with icons which visually resemble physical file folders.

Strictly speaking, there is a difference between a directory which is a file system concept, and the graphical user interface metaphor that is used to represent it (a folder). For example, Microsoft Windows uses the concept of special folders to help present the contents of the computer to the user in a fairly consistent way that frees the user from having to deal with absolute directory paths, which can vary between versions of Windows, and between individual installations.

References

1. ^ "With the introduction of Windows 95, Microsoft started referring to directories as folders." (Murach's C# 2005, page 34)
2. ^ "Everything is a File" (Unix System Administration Independent Learning)

See also

External links

computing is synonymous with counting and calculating. Originally, people that performed these functions were known as computers. Today it refers to a science and technology that deals with the computation and the manipulation of symbols.
..... Click the link for more information.
file system (often also written as filesystem) is a method for storing and organizing computer files and the data they contain to make it easy to find and access them.
..... Click the link for more information.
hierarchy (in Greek: Ἱεραρχία, derived from ἱερόςhieros, 'sacred', and
..... Click the link for more information.
An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions.[1] It is usually embedded as part of a complete device including hardware and mechanical parts.
..... Click the link for more information.
Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
..... Click the link for more information.
Dennis MacAlistair Ritchie

Born September 9 1941 (1941--) (age 66)
Bronxville, New York
..... Click the link for more information.
Unix-like operating system is one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the Single UNIX Specification.
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
The Filesystem Hierarchy Standard (FHS) defines the main directories and their contents in Linux and other Unix-like computer operating systems.

The current version is 2.3. It was announced on January 29, 2004.
..... Click the link for more information.
An operating system (OS) is the software that manages the sharing of the resources of a computer. An operating system processes system data and user input, and responds by allocating and managing tasks and internal system resources as a service to users and programs of the
..... Click the link for more information.
In computing, the working directory of a process is the directory of a hierarchical file system, if any,[1] which is implicitly used to determine the file referenced to by the process with a file name only, or with a relative path (as opposed to files referenced by full
..... Click the link for more information.
User in a computing context refers to one who uses a computer system. Users may need to identify themselves for the purposes of accounting, security, logging and resource management.
..... Click the link for more information.
In computing, a home directory is a directory which contains the personal files of a particular user of the system.

Separating user data from system-wide data avoids redundancy and makes backups of important files relatively simple.
..... Click the link for more information.
A file folder is a kind of folder that holds loose papers together for organization and protection. File folders usually consist of a sheet of heavy paper stock or other thin, but stiff, material which is folded in half, and are used to keep paper documents.
..... Click the link for more information.
An operating system (OS) is the software that manages the sharing of the resources of a computer. An operating system processes system data and user input, and responds by allocating and managing tasks and internal system resources as a service to users and programs of the
..... Click the link for more information.

..... Click the link for more information.
Mac OS X (IPA: /mæk.oʊ.ɛs.tɛn/) is a line of graphical operating systems developed, marketed, and sold by Apple Inc., the latest of which is pre-loaded on all currently shipping Macintosh computers.
..... Click the link for more information.
Microsoft Windows

Screenshot of Windows Vista Ultimate, the latest version of Microsoft Windows.
Company/developer: Microsoft Corporation
OS family: MS-DOS/9x-based, Windows CE, Windows NT
Source model: Closed source

..... Click the link for more information.
Berkeley Software Distribution (BSD, sometimes called Berkeley Unix) is the UNIX derivative distributed by the University of California, Berkeley, starting in the 1970s.
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
icon (from Greek εἰκών, eikon, "image") is an image, picture, or representation; it is a sign or likeness that stands for an object by signifying or representing it, or by analogy, as in semiotics; by
..... Click the link for more information.
file system (often also written as filesystem) is a method for storing and organizing computer files and the data they contain to make it easy to find and access them.
..... Click the link for more information.
graphical user interface (GUI) is a type of user interface which allows people to interact with a computer and computer-controlled devices which employ graphical icons, visual indicators or special graphical elements called "widgets", along with text, labels or text
..... Click the link for more information.
On Microsoft Windows operating systems, Special Folders are folders which are presented to the user through an interface as an abstract concept, instead of an absolute folder path.
..... Click the link for more information.
cd, sometimes also available as chdir (change directory), is a command line command to change the current working directory in operating systems such as Unix, Windows and DOS.
..... Click the link for more information.
A filename is a special kind of string used to uniquely identify a file stored on the file system of a computer. Depending on the operating system, such a name may also identify a directory.
..... Click the link for more information.
The mkdir command in the Unix operating system is used to make a new directory. Normal usage is as straightforward as follows: mkdir name_of_directory Where name_of_directory is the name of the directory one wants to create. When typed as above (ie.
..... Click the link for more information.
In computing, the working directory of a process is the directory of a hierarchical file system, if any,[1] which is implicitly used to determine the file referenced to by the process with a file name only, or with a relative path (as opposed to files referenced by full
..... Click the link for more information.
A web directory or link directory is a directory on the World Wide Web. It specializes in linking to other web sites and categorizing those links.

A web directory is not a search engine, and does not display lists of web pages based on keywords, instead it lists web
..... Click the link for more information.

This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.