คำสั่ง cd เปลี่ยนไดเรกทรอรี่ คำสั่ง mkdir สร้างไดเรกทรอรี่ คำสั่ง rmdir ลบไดเรกทรอรี่ cd - Change the shell working directory. The default DIR is the value of the HOME shell variable. It is the command to make, remove empty, change working directory |  ผู้ใช้คอมพิวเตอร์ที่ใช้ dos มาก่อนต้องคุ้นเคยกับห้องเก็บข้อมูลแน่นอน สำหรับคำสั่งเกี่ยวกับห้องเก็บข้อมูล ในที่นี้มี 3 คำสั่ง 
 mkdir หมายถึง สร้างห้องเก็บข้อมูล (make directories) 
 rm หมายถึง ลบแฟ้ม หรือห้องเก็บข้อมูล (remove files or directories) และคำสั่งนี้ยังใช้ลบแฟ้มตามปกติได้อีกด้วย
 cd หมายถึงเปลี่ยนห้องเก็บข้อมูล (change working directory)
 ตัวอย่างคำสั่ง และการใช้งาน
| mkdir hello | สร้าง directory ชื่อ hello ในห้องปัจจุบัน |  
| rmdir hello.htm | จะลบแฟ้มชื่อ hello.htm |  
| cd / | ย้าย directory ไปยัง root หรือห้องนอกสุด |  
| cd .. | ย้าย directory ออกไปข้างบน 1 ระดับ |  
| cd ~/x | เข้าไปยังห้อง x ของ home directory เช่น /home/thaiall/x ถ้า home directory คือ /home/thaiall |  
  |  
  |