tldr/pages/common/mkdir.md

317 B

mkdir

Creates a directory. More information: https://www.gnu.org/software/coreutils/manual/html_node/mkdir-invocation.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}}