Technical data

Introducing the File System
6-10
Changing Current Directories
The cd command changes your current directory. You can specify the destination
pathname as an argument to cd. If you use a relative pathname you must account
for all directories in the path. If you don’t specify a destination, then your home
directory becomes your current directory. Your home directory is the directory you
log in to. To find out what your home directory is, check the file called
/etc/password and look at your entry; it should look like the following:
username:coded password:file permission:group information:your name:home
directory:log in shell
Refer to A Beginners Guide to HP-UX, “Working With Files” for more information
about these and other files system commands.