tldr/pages/common/mkdir.md

13 lines
284 B
Markdown
Raw Normal View History

2014-01-26 17:30:19 +00:00
# mkdir
> Creates a directory.
> More information: <https://www.gnu.org/software/coreutils/mkdir>.
2014-01-26 17:30:19 +00:00
- Create a directory in current directory or given path:
2014-01-26 17:30:19 +00:00
`mkdir {{directory}}`
- Create directories recursively (useful for creating nested dirs):
2014-01-26 17:30:19 +00:00
`mkdir -p {{path/to/directory}}`