$ mkdir -p a/b/c
$ mkdir -m 755 dir
| -p | create parent directories as needed, no error if they exist |
| -v | print a message for each created directory |
| -m | set the permission mode of the new directory |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.