Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Changing your current working directory

Tech Computer Center logo

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 ~

Next: Moving a file to a different directory
See also: How to organize large collections of files
Previous: What is a pathname?
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT
URL: http://www.nmt.edu/tcc/help/unix/cd.html
QR two-dimensional bar code