mirror of https://github.com/CrimsonTome/tldr.git
17 lines
382 B
Markdown
17 lines
382 B
Markdown
# mkdir
|
|
|
|
> Creates a directory.
|
|
> More information: <https://www.gnu.org/software/coreutils/mkdir>.
|
|
|
|
- Create a directory in current directory or given path:
|
|
|
|
`mkdir {{directory}}`
|
|
|
|
- Create multiple directories in the current directory:
|
|
|
|
`mkdir {{directory_1 directory_2 ...}}`
|
|
|
|
- Create directories recursively (useful for creating nested dirs):
|
|
|
|
`mkdir -p {{path/to/directory}}`
|