next up previous
Next: Current Directory, Absolute and Up: UNIX, Kernel, Shell. Previous: Changing your shell

The Tree Structure of the Filesystem and a Home Directory

Files are organized into directories. A directory is a special kind of file that list other files. A directory can contain any number of files and other directories. The directory at the top is called the "root" and has a special name "/" ("slash")
(picture)

Log in leads in the directory created for you by the system administrator. This directory is called your home directory. For example cs241 home directory is:
/u/cs241.
/ is the root and 'u' stores home directories for all users. The current directory can be changed to your home directory by typing
cd
with no pathname.



Subsections

Instructional Support Group 2008-08-05