UNSW   Faculty of Engineering myCSE PRINT VERSION SITE MAP  
cse | School of Computer Science and Engineering (CRICOS Provider No. 00098G)
    #About CSE     #Undergraduate Study     #Postgraduate Study     #Timetables & Courses     #Research & Publications     #People & Work Units     #Help & Resources     #News & Events     #High School Portal

Last updated 19.02.08

The Current Directory

When you log on to a UNIX computer, the operating system sets your home directory as the current directory or working directory. The current directory is the directory under which files and other directories may be created and deleted and is a point of reference for many UNIX commands (this concept will be explored further a little later in this section).

If you ever get lost, the command pwd will display the name of the current directory. Unfortunately, it can return confusing names such as /tmp_amd/bizet/import/1/angies. Get used to translating this to /home/angies in your mind.

The current directory is represented by the character `.'. The parent directory of the current directory is represented by the string `..'. This may seem strange at the moment, but all will become clear a little later in this section, so read on!



Loc Van Huynh 2007-03-15
Top Of Page

 ###
Site maintained by webmistress@cse.unsw.edu.au
Please read the UNSW Copyright & Disclaimer Statement