create a directory mkdir directory
create a directory with all permissions enabled mkdir -m 777 unprotected_directory
Create a directory: mkdir
Creates a directory.
-
Create a directory in current directory or given path:
mkdir directory
-
Create directories recursively (useful for creating nested dirs):
mkdir -p path/to/directory
mkdir -p foo/bar/baz
mkdir -p foo/{bar,baz}
mkdir -p foo/{bar,baz/{zip,zap}}