Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 1
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
2. Introducing bash
  


Using ".." page 8 of 13


Relative paths may also contain one or more .. directories. The .. directory is a special directory that points to the parent directory. So, continuing from the example above:


$ pwd
/usr/local/bin
$ cd ..
$ pwd
/usr/local

As you can see, our current directory is now /usr/local. We were able to go "backwards" one directory, relative to the current directory that we were in.


Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact