mkdir

Make directories, creates intermediary directories as required.

Signature

> mkdir ...rest --show-created-paths

Parameters

  • ...rest: the name(s) of the path(s) to create
  • --show-created-paths: show the path(s) created.

Examples

Make a directory named foo

> mkdir foo

Make multiple directories and show the paths created

> mkdir -s foo/bar foo2