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 "cd" page 4 of 13


As you've probably found, staring at your bash prompt isn't the most exciting thing in the world. So, let's start using bash to navigate around our filesystem. At the prompt, type the following (without the $):


$ cd /

We've just told bash that you want to work in /, also known as the root directory; all the directories on the system form a tree, and / is considered the top of this tree, or the root. cd sets the directory where you are currently working, also known as the "current working directory".


Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact