mkdir Verified for current stable LTS

Mkdir Command: Create Directories With Parents

Use for create directories with parents with Mkdir. Exact CLI syntax to create directories with parents using Mkdir.

When to use this: Use for create directories with parents with Mkdir.

Command Syntax

mkdir -p <path/to/directory1 path/to/directory2 ...>

Command Breakdown

-p
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to create directories with parents using Mkdir.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Mkdir directory