System Grab Bag

View all TLDR pages from common (or from all pages)

mkdir

Create directories and set their permissions. More information: https://www.gnu.org/software/coreutils/mkdir.
  • Create specific directories:
    mkdir {{path/to/directory1 path/to/directory2 ...}}
  • Create specific directories and their [p]arents if needed:
    mkdir -p {{path/to/directory1 path/to/directory2 ...}}
  • Create directories with specific permissions:
    mkdir -m {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.

Other Projects

This TLDR page is also found in other projects: