tldr/pages/common/mkdir.md

290 B

mkdir

Creates a directory. More information: https://man7.org/linux/man-pages/man1/mkdir.1.html.

  • Create a directory in current directory or given path:

mkdir {{directory}}

  • Create directories recursively (useful for creating nested dirs):

mkdir -p {{path/to/directory}}