Changing your current working directory |
|
At any given time, you are located in some current working directory within the Unix file tree. When you log in, your current directory is set to your home directory.
You can change your current working directory any time by using
the cd command (this stands for "change directory").
For example, if the current directory has a subdirectory named
details, you can change to that directory using
the command:
% cd details
You can always find out the absolute pathname of the current working directory by typing the command:
% pwd
Assuming you are using csh as your
shell, you can always return to your home directory
by typing:
% cd ~