What is the root directory?

Root directory is the highest directory in computer file systems. Sometimes it is referred to as a superior directory or home directory. V may contain many other directories or subsequently.

The term "home directory" is not a completely accurate link to the root directory when we are talking about Unix or Unix computer files, such as numerous distributions or flavors of the Linux operating system. There are some Linux distributions that have been developed for use primarily by the only user who always works as a root or main user. Puppy Linux is an example of such a system. However, most distributions have been developed for the production environment of several users, each of which had its own home directory. Individual domestic directory are not root directory in the same sense as the highest directory in hierarchical computer file systems.

Root Directors under the operating systemMICrosoft (MS) Windows® differs from Linux distribution system. Each section is assigned a letter from the alphabet under MS Windows. For example, a local disk where the operating system is installed would be marked as C: \, which is called a root directory for this particular section. Optical units such as a compact disk (CD) and a digital universal disk (DVD) are usually marked as D: \ or E: \. These are root directory for these specific units. Each of them is a parental directory that can contain any number of subsections, so we can say that there is more than one root directory under Windows.

UNIX and UNIX -based operating systems, such as various Linux distributions, use a hierarchical file system in which the highest directory is marked with a simple return shipy; It is the only real highest directory. All files and subdirectories are relative to the root directory regardless of the operating system in the use. In determining the exact location of a particular file withSometimes they use the terms "work directory", "relative" and "absolute path". The relative path of the file is in fact relative to another location; For example, the subsection file is relative to the superior directory in which this subparagraph sits. When pointing to the sub -section files, it is usually sufficient to mark the relative path, not absolute.

There are times when it is necessary to mark the absolute path of the file, which requires knowing what the root directory is. The working directory is a term often used to indicate a directory or the exact location in which the user is currently working. Directors can be considered as electronic components of Manila, in which different files are kept, but unlike the physical components of Manila, in which other folders are rarely placed, the electronic root directory can hold more components known as the subrealing.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?