Up to main menu         Back to UNIX         Next: Directory and File Manipulation

File System

The files on a computer are connected in an inverted-tree arrangement. On Unix computers, the ``top'' of this system is called the root, denoted by a single slash /. The root has several (main) directories, each of which may contain files and subdirectories, etc.

When you log in, you are placed into your home directory, a particular subdirectory of the system where all your files will go. In the diagram above, wilson's home directory is a subsubsubdirectory of the root directory; its full path name is /home/student/wilson.

To see the full path name of your home directory, type the command echo $HOME into any xterm window. To see the full name of the current directory in an xterm, type the command pwd.

The full path name of wilson's ``README'' file is /home/student/wilson/README. Fortunately, you rarely need to type the full path name. To display the contents of the file after logging in, wilson only has to type the command more README, since the file is in the directory she is automatically put into upon logging in.


Up to main menu         Back to UNIX         Next: Directory and File Manipulation
Bruce.Fast@Colorado.EDU