mkdir

Creates a directory.

Install

All systems
curl cmd.cat/mkdir.sh
Debian Debian
apt-get install coreutils
Ubuntu
apt-get install coreutils
Alpine
apk add coreutils
Arch Arch Linux
pacman -S coreutils
image/svg+xml Kali Linux
apt-get install coreutils
CentOS
yum install coreutils
Fedora
dnf install coreutils
OS X
brew install coreutils
Raspbian
apt-get install coreutils
Docker
docker run cmd.cat/mkdir mkdir powered by Commando

Creates a directory.

  • Create a directory in current folder or given path:
    mkdir directory
  • Create directories recursively (useful for creating nested dirs):
    mkdir -p path/to/directory

© tl;dr; authors and contributors