2014-01-26 17:30:19 +00:00
|
|
|
# mkdir
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Creates a directory.
|
2021-04-01 16:54:26 +01:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/mkdir>.
|
2014-01-26 17:30:19 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
- Create a directory in current directory or given path:
|
2014-01-26 17:30:19 +00:00
|
|
|
|
|
|
|
`mkdir {{directory}}`
|
|
|
|
|
2021-08-13 16:44:18 +01:00
|
|
|
- Create multiple directories in the current directory:
|
|
|
|
|
|
|
|
`mkdir {{directory_1 directory_2 ...}}`
|
|
|
|
|
2016-01-16 14:12:05 +00:00
|
|
|
- Create directories recursively (useful for creating nested dirs):
|
2014-01-26 17:30:19 +00:00
|
|
|
|
2016-07-13 09:53:22 +01:00
|
|
|
`mkdir -p {{path/to/directory}}`
|