Solaris Advanced User's Guide

Before You Begin

Before you experiment with files, make sure that you are in your home directory. Your system administrator established this directory for you at your account creation. To avoid changes to parts of your system that other users expect to remain unchanged, perform the following tasks in your home directory.

To make certain that you are in your home directory, type the cd (change directory) command. This command moves you to your home (default) directory. Then type the pwd (print working directory) command to display your current location within the file system. The directory displayed is your home directory:

$ cd
$ pwd

In this example, the user's home directory is /export/home/username, where username is the name of the user who owns the home directory.