home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 1.19 The Tree Structure of the Filesystem Chapter 1
Introduction
Next: 1.21 Making Pathnames
 

1.20 Your Home Directory

DOS and the Macintosh have hierarchical filesystems (1.19 ) much like those in UNIX and other large systems. But there is an important difference.

On many DOS and Macintosh systems, you start right at the "root" of the filesystem tree. In effect, you start with a blank slate, and create subdirectories to organize your files.

A UNIX system comes with an enormous filesystem tree already developed. When you log in, you start somewhere down in that tree, in a directory created for you by the system administrator (who may even be yourself, if you are administering your own system).

This directory, the one place in the filesystem that is your very own, to store your files (especially the shell setup files (2.2 ) that you use to customize the rest of your environment) is called your home directory .

Home directories were originally stored in a directory called /usr (and still are on some systems), but are now often stored in other directories, perhaps named /u or /home .

To change your current directory (1.21 ) to your home, type cd with no pathname; the shell will assume you mean your home directory. Article 14.11 explains "nicknames" for your home directory and other users' home directories.

- TOR


Previous: 1.19 The Tree Structure of the Filesystem UNIX Power Tools Next: 1.21 Making Pathnames
1.19 The Tree Structure of the Filesystem Book Index 1.21 Making Pathnames

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru