tldr/pages/common/mkdir.md

13 lines
290 B
Markdown
Raw Normal View History

2014-01-26 17:30:19 +00:00
# mkdir
> Creates a directory.
> More information: <https://man7.org/linux/man-pages/man1/mkdir.1.html>.
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}}`