Linux – The mkdir Command




mkdir

Use mkdir to make a directory

NOTE: You have to either be the owner of the file or have write permissions to the directory containing the new directory!

  • mkdir – make directory
  • This creates a directory.
  • Capitalize the first letter of any directory to make identifying a directory with ls easier.
    • mkdir [new directory name]
    • Example:  mkdir Temp
  • You can create multiple directories with a single command
    • Example: mkdir Temp1 Temp2 Temp3

 

 

Linux man page – mkdir

 


Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com