mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-28 07:53:36 +02:00
16 lines
509 B
Markdown
16 lines
509 B
Markdown
# mkdir
|
|
|
|
> Create directories and set their permissions.
|
|
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/mkdir-invocation.html>.
|
|
|
|
- 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 ...}}`
|