All Topics  
Home directory

 

   Email Print
   Bookmark   Link






 

Home directory



 
 
In multi-user
Multi-user

Multi-user is a term that defines an operating system or application software that allows concurrent access by multiple User s of a computer. Time-sharing systems are multi-user systems....
 operating systems, a home directory is a file system directory
Directory (file systems)

In computing, a directory, folder, catalog, or drawer is a virtual container within a digital file system, in which groups of files and other directories can be kept and organized....
 which contains the personal files
Computer file

A computer file is a block of arbitrary information, or resource for storing information, which is available to a computer program and is usually based on some kind of durable computer storage....
 of a given user
User (computing)

In computing, a user is a person who uses a computer or Internet service. A user may have a user account that identifies the user by a username , screenname , or "handle", which is derived from the identical Citizen's Band radio term....
 of the system.

Separating user data from system-wide data avoids redundancy and makes backups of important files relatively simple. Furthermore, Trojan horse
Trojan horse (computing)

The Trojan horse, also known as trojan, in the context of computer software, describes a class of computer threats that appears to perform a desirable function but in fact performs undisclosed malicious functions that allow unauthorized access to the host machine, giving them the ability to save their files on the user's computer...
s, virus
Computer virus

A computer virus is a computer program that can copy itself and infect a computer without the permission or knowledge of the user. The term "virus" is also commonly but erroneously used to refer to other types of malware, adware and spyware programs that do not have the reproductive ability....
es and worm
Computer worm

A computer worm is a self-replicating computer program. It uses a network to send copies of itself to other nodes and it may do so without any user intervention....
s running under the user's name and with their privileges will in most cases only be able to alter the files in the user's home directory, and perhaps some files belonging to workgroups the user is a part of, but not actual system file
System file

A system file is a computer file important to the operating system. More specifically, it may refer to:* .sys ? a Microsoft Windows file extension for system-related files...
s.

a class="link1" onMouseover='showByLink("m1236743",this)' onMouseout='hide("m1236743")'href="http://www.absoluteastronomy.com/topics/Unix">Unix
Unix

Unix is a computer operating system originally developed in 1969 by a group of American Telephone & Telegraph employees at Bell Labs, including Ken Thompson , Dennis Ritchie, Douglas McIlroy, and Joe Ossanna....
 and Unix-like
Unix-like

A 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....
 systems, a user's home directory contains all that user's documents and other personal data, including his configuration file
Configuration file

In computing, configuration Computer files, or config files, are used to configure the initial settings for some computer programs. They are used for user application software, Server and operating system settings....
s of preferred settings for any software he has used there and might have tailored to his liking: web browser
Web browser

A Web browser is a application software which enables a user to display and interact with text, images, videos, music, games and other information typically located on a Web page at a website on the World Wide Web or a local area network....
 bookmarks, favorite desktop
Desktop metaphor

The desktop metaphor is an interface metaphor which is a set of unifying concepts used by graphical user interfaces to help users more easily interact with the computer....
 wallpaper
Computer wallpaper

The terms wallpaper, desktop picture and desktop background refer to an image used as a background on a computer screen, usually for the desktop metaphor of a graphical user interface....
 and themes
Theme (computing)

In computing, a theme is a preset package containing graphical appearance details, used to customize the look and feel of an operating system, widget set or window manager....
, password
Password

A password is a secret word or string of Character that is used for authentication, to prove identity or gain access to a resource . The password must be kept Secrecy from those not allowed access....
s to any external services accessed via a given software, and so on.






Discussion
Ask a question about 'Home directory'
Start a new discussion about 'Home directory'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In multi-user
Multi-user

Multi-user is a term that defines an operating system or application software that allows concurrent access by multiple User s of a computer. Time-sharing systems are multi-user systems....
 operating systems, a home directory is a file system directory
Directory (file systems)

In computing, a directory, folder, catalog, or drawer is a virtual container within a digital file system, in which groups of files and other directories can be kept and organized....
 which contains the personal files
Computer file

A computer file is a block of arbitrary information, or resource for storing information, which is available to a computer program and is usually based on some kind of durable computer storage....
 of a given user
User (computing)

In computing, a user is a person who uses a computer or Internet service. A user may have a user account that identifies the user by a username , screenname , or "handle", which is derived from the identical Citizen's Band radio term....
 of the system.

Separating user data from system-wide data avoids redundancy and makes backups of important files relatively simple. Furthermore, Trojan horse
Trojan horse (computing)

The Trojan horse, also known as trojan, in the context of computer software, describes a class of computer threats that appears to perform a desirable function but in fact performs undisclosed malicious functions that allow unauthorized access to the host machine, giving them the ability to save their files on the user's computer...
s, virus
Computer virus

A computer virus is a computer program that can copy itself and infect a computer without the permission or knowledge of the user. The term "virus" is also commonly but erroneously used to refer to other types of malware, adware and spyware programs that do not have the reproductive ability....
es and worm
Computer worm

A computer worm is a self-replicating computer program. It uses a network to send copies of itself to other nodes and it may do so without any user intervention....
s running under the user's name and with their privileges will in most cases only be able to alter the files in the user's home directory, and perhaps some files belonging to workgroups the user is a part of, but not actual system file
System file

A system file is a computer file important to the operating system. More specifically, it may refer to:* .sys ? a Microsoft Windows file extension for system-related files...
s.

Implementations

On Unix
Unix

Unix is a computer operating system originally developed in 1969 by a group of American Telephone & Telegraph employees at Bell Labs, including Ken Thompson , Dennis Ritchie, Douglas McIlroy, and Joe Ossanna....
 and Unix-like
Unix-like

A 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....
 systems, a user's home directory contains all that user's documents and other personal data, including his configuration file
Configuration file

In computing, configuration Computer files, or config files, are used to configure the initial settings for some computer programs. They are used for user application software, Server and operating system settings....
s of preferred settings for any software he has used there and might have tailored to his liking: web browser
Web browser

A Web browser is a application software which enables a user to display and interact with text, images, videos, music, games and other information typically located on a Web page at a website on the World Wide Web or a local area network....
 bookmarks, favorite desktop
Desktop metaphor

The desktop metaphor is an interface metaphor which is a set of unifying concepts used by graphical user interfaces to help users more easily interact with the computer....
 wallpaper
Computer wallpaper

The terms wallpaper, desktop picture and desktop background refer to an image used as a background on a computer screen, usually for the desktop metaphor of a graphical user interface....
 and themes
Theme (computing)

In computing, a theme is a preset package containing graphical appearance details, used to customize the look and feel of an operating system, widget set or window manager....
, password
Password

A password is a secret word or string of Character that is used for authentication, to prove identity or gain access to a resource . The password must be kept Secrecy from those not allowed access....
s to any external services accessed via a given software, and so on. The user can also keep additional software which may not have been installed on the system as a whole. This directory will usually be organized with the use of sub-folders, at the user's preference.

The content of one's user home directory is private and can be made unavailable to other users of the system (local or remote), protected by a mechanism of file system permissions
File system permissions

Most modern file systems have methods of administering permissions or access rights to specific user and groups of users. These systems control the ability of the users affected to view or make changes to the contents of the file system....
. Note however that anyone who has been granted superuser
Superuser

On many computer operating systems, the superuser, or root, is a special user account used for system administration.Many older operating systems on computers intended for personal and home use, including MS-DOS and Windows 9x, do not have the concept of multiple accounts and thus have no separate administrative account; anyone using...
 privilege, such as the system administrator, has authority to access any protected location on the filesystem.

The home directory is defined as part of the user's account data (for instance on Unix in the /etc/passwd file). It is where a user's focus
Working directory

In computing, the working directory of a process is a directory of a hierarchical file system, if any, dynamically associated with each process....
 is located upon login
Logging (computer security)

In computer security, login is the process by which individual access to a computer system is controlled by identification of the User using credentials provided by the user....
 in a shell
Shell (computing)

In computing, a shell is a piece of software that provides an Interface for users. Typically, the term refers to an operating system shell which provides access to the services of a kernel ....
 (as visible at the Command line interface
Command line interface

A command-line interface is a mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks....
 prompt or via the "pwd
Pwd

In Unix-like and some other operating systems the pwd command is used to output the path of the current working directory.The command is a shell builtin in certain Unix shells such as Bourne shell, and Bourne-Again shell....
" command).

The name of the home directory depends on the operating system, but there appears to be some convergence in recent years. In all cases "name" is the users name or id.
  • /home/name - most distributions of Linux
    Linux

    Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
    , most variants of BSD (e.g. OpenBSD
    OpenBSD

    OpenBSD is a Unix-like computer operating system descended from Berkeley Software Distribution , a Unix derivative developed at the University of California, Berkeley....
    ), Solaris, Ubuntu
  • /Users/name - Windows Vista
    Windows Vista

    Windows Vista is one member in a family of operating systems developed by Microsoft for use on personal computers, including home and business Desktop computer, laptops, Tablet PCs, and media center PCs....
    , NeXTSTEP
    NEXTSTEP

    Nextstep was the original Object-oriented operating system, computer multitasking operating system that NeXT developed to run on its range of proprietary computers, such as the NeXTcube....
    , OPENSTEP
    OpenStep

    OpenStep is an object-oriented application programming interface specification for an object-oriented operating system that uses any modern operating system as its core, principally developed by NeXT with Sun Microsystems....
    , Mac OS X
    Mac OS X

    Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
    , GoboLinux
    GoboLinux

    GoboLinux is a free software operating system whose most prominent feature is its reorganization of the filesystem hierarchy. Rather than following the Filesystem Hierarchy Standard like most Unix-like systems, under GoboLinux each program has its own subdirectory tree, where all of its files can be found....
  • \WINNT\Profiles\name - Windows NT
    Windows NT

    Windows NT is a family of operating systems produced by Microsoft, the first version of which was released in July 1993. It was originally designed to be a powerful high-level-language-based, processor-independent, multiprocessing, multiuser operating system with features comparable to Unix....
     systems released in the 1990s (that is, prior to Windows 2000)
  • \Documents and Settings\name - Windows 2000
    Windows 2000

    Windows 2000 is a line of operating systems produced by Microsoft for use on business desktops, Laptop, and Server . Released on 17 February, 2000, it was the successor to Windows NT 4.0, and is the final release of Microsoft Windows to display the "Windows NT" designation....
    , Windows XP
    Windows XP

    Windows XP is a line of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptop, and media centers....
     and Windows Server 2003
    Windows Server 2003

    Windows Server 2003 is a Server operating system produced by Microsoft. Introduced on 24 April 2003 as the successor to Windows 2000 Server, it is considered by Microsoft to be the cornerstone of its Windows Server System line of business server products....
  • /var/users/name, /u01/name, /usr/name, /user/name, /users/name - various Unix-derived systems
  • /usr/name - original versions of AT&T Unix


On Windows the directories are always on the system drive, typically C:
Drive letter assignment

Drive letter assignment is the process of assigning alphabetical identifiers to physical or logical disk drives or partition s in the root filesystem namespace; this usage is commonly found in Microsoft operating systems....
, so many of the above names can be prefixed with C: to make them not depend on the current drive. Conversely, not specifying the drive will allow the system drive to be different (perhaps D:). In addition, before Windows Vista
Windows Vista

Windows Vista is one member in a family of operating systems developed by Microsoft for use on personal computers, including home and business Desktop computer, laptops, Tablet PCs, and media center PCs....
, the name of the directory was localized into the language of the installed system. Thus the most reliable way to find the home directory was to expand the shell expansion
Environment variable

Environment variables are a set of dynamic named Value s that can affect the way running computer process will behave on a computer....
 %UserProfile% (and use relative naming from there to find other users).

On Unix-derived systems the home directory of the superuser
Superuser

On many computer operating systems, the superuser, or root, is a special user account used for system administration.Many older operating systems on computers intended for personal and home use, including MS-DOS and Windows 9x, do not have the concept of multiple accounts and thus have no separate administrative account; anyone using...
 does not follow the naming conventions of other users. Traditionally it was /
Root directory

In computing file systems, the root directory is the first or top-most directory in a hierarchy. It can be likened to the root of a tree - the starting point where all branches originate....
, but on many newer systems it is located at /root (Linux, BSD), or /var/root (Mac OS X
Mac OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc., and since 2002 has been included with all new Macintosh computer systems....
).

Single-user operating systems (which may be used by more than one person, but which are called "single-user" because they do not differentiate between different owners' files) typically do not have home directories, though they may have separate disks or partitions
Disk partitioning

Disk partitioning is the dividing of the data storage space of a hard disk drive into separate areas referred to as partitions. A partition editor program can be used to create, delete or modify these partitions....
 which may or may not be used for this purpose. For example, AmigaOS
AmigaOS

AmigaOS is the default native operating system of the Amiga personal computer. It was developed first by Commodore International, and initially introduced in 1985 with the Amiga 1000....
 versions 2 and up have "System" and "Work" partitions on hard disks by default. The BeOS
BeOS

BeOS was an operating system for personal computers which began development by Be Inc. in 1991. It was first written to run on BeBox hardware. BeOS was optimized for digital media work and was written to take advantage of modern hardware facilities such as symmetric multiprocessing by utilizing modular I/O bandwidth, pervasive multithreading,...
 (and its successors) have a /home directory which contain the files belonging to the single user of the system. Versions of Windows prior Windows 95
Windows 95

Windows 95 is a consumer-oriented graphical user interface-based operating system. It was released on August 24, 1995 by Microsoft, and was a significant progression from the company's previous Microsoft Windows products....
 OEM Service Release 2 did not have a user folder, but since that release, \My Documents
My Documents

On Microsoft Windows operating systems prior to Vista, My Documents is the name of a Special Folders on the computer's hard drive that is commonly used to store a user's documents, music, pictures, downloads, and other files....
became in effect the single user's home directory. In NeXTSTEP
NEXTSTEP

Nextstep was the original Object-oriented operating system, computer multitasking operating system that NeXT developed to run on its range of proprietary computers, such as the NeXTcube....
 and OPENSTEP
OpenStep

OpenStep is an object-oriented application programming interface specification for an object-oriented operating system that uses any modern operating system as its core, principally developed by NeXT with Sun Microsystems....
 in a single user, non-networked setup, /me is used, as well as /root when logged in as superuser.

An additional Unix naming convention (originating from the csh
C shell

The C shell is a Unix shell developed by Bill Joy for the Berkeley Software Distribution Unix system. It was originally derived from the 6th Edition Unix /bin/sh , the predecessor of the Bourne shell....
 shell) is that ~user can be used as shorthand for referring to the home directory belonging to user, whatever its location on the filesystem. This is why many web server
Web server

The term web server can mean one of two things:# A computer program that is responsible for accepting Hypertext Transfer Protocol requests from clients , and Server them HTTP responses along with optional data contents, which usually are web pages such as Hypertext Markup Language documents and linked objects ....
s are configured to show a user's personal website
Website

A Web site is a collection of related Web pages, images, videos or other digital assets that are hosted on one Web server, usually accessible via the Internet....
 when a URL
Uniform Resource Locator

In Information technology, a Uniform Resource Locator is a type of Uniform Resource Identifier that specifies where an identified resource is available and the mechanism for retrieving it....
 such as http://www.catb.org/~esr/ is accessed (in this example, the username is esr). A further shorthand allows a user to refer to his own home directory simply as ~ (the tilde
Tilde

The tilde is a grapheme with several uses. The name of the character comes from Spanish language, from the Latin wikt:titulus meaning a title or superscription, though the term ?tilde? has evolved in that language and now has a different meaning in Linguistics....
 character).

In the VMS
VMS

VMS may stand for:* OpenVMS or VAX/VMS, a server computer operating system* FreeVMS, a computer operating system* Variable-message sign, an electronic traffic sign often used on highways...
 operating system, a user's home directory is called the "root directory", and the equivalent of a Unix/DOS/Windows/AmigaOS "root directory" is referred to as the "Master File Directory".

See also

  • Filesystem hierarchy standard
    Filesystem Hierarchy Standard

    The Filesystem Hierarchy Standard defines the main directories and their contents in most software systems using UNIX and Unix-like operating systems....
  • My Documents
    My Documents

    On Microsoft Windows operating systems prior to Vista, My Documents is the name of a Special Folders on the computer's hard drive that is commonly used to store a user's documents, music, pictures, downloads, and other files....
  • Root directory
    Root directory

    In computing file systems, the root directory is the first or top-most directory in a hierarchy. It can be likened to the root of a tree - the starting point where all branches originate....
  • Working directory
    Working directory

    In computing, the working directory of a process is a directory of a hierarchical file system, if any, dynamically associated with each process....
  • Parent directory
    Parent directory

    In computing, the parent directory of a given directory A is the directory B in which A is located. In As Absolute path , B is the predecessor of A....