Skip to main content

4.2) Directory Tree


How do we get back up the tree structure to the home directory? You can go up the tree structure by typing:

cd ..

This will take you up from the directory called datafiles to the research directory again.

When people first start Unix they sometimes type 'cd research' but that won’t work as that would imply there is another research directory below the datafiles directory.

Type it again:

cd ..

and you will go from the research directory to the home directory. The two dots represent the directory above the one you are currently in in the directory tree, as there is only ever one directory above.