cheat:mkdir
# To create nested directories:
mkdir -p foo/bar/baz
# To create foo/bar and foo/baz directories:
mkdir -p foo/{bar,baz}
# To create the foo/bar, foo/baz, foo/baz/zip and foo/baz/zap directories:
mkdir -p foo/{bar,baz/{zip,zap}}
tldr:mkdir
# 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 ...
$
cheat.sh