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
3. Using Linux commands
  


mkdir -p page 10 of 15


However, mkdir has a handy -p option that tells mkdir to create any missing parent directories, as can be seen here:


$ mkdir -p easy/as/pie

All in all, pretty straightforward. To learn more about the mkdir command, type man mkdir to read the manual page. This will work for nearly all commands covered here (such as man ls), except for cd, which is built-in to bash.


Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact