mkdir(2) - man - phpman

Look up a command

 

Not found locally for mkdir. Try Google search | cheat.sh


TLDR: mkdir (tldr-pages)

Create directories and set their permissions.

  • Create specific directories
    mkdir {{path/to/directory1 path/to/directory2 ...}}
  • Create specific directories and their parents if needed
    mkdir {{-p|--parents}} {{path/to/directory1 path/to/directory2 ...}}
  • Create directories with specific permissions
    mkdir {{-m|--mode}} {{rwxrw-r-}} {{path/to/directory1 path/to/directory2 ...}}
  • Create multiple nested directories recursively
    mkdir {{-p|--parents}} {{path/to/{a,b}/{x,y,z}/{h,i,j}}}
intro (2)            - introduction to system calls

Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 11:03 @216.73.216.151 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!