mkdir Verified for current stable LTS

Mkdir Command: Create Multiple Nested Directories Recursively

Use for create multiple nested directories recursively with Mkdir. Exact CLI syntax to create multiple nested directories recursively using Mkdir.

When to use this: Use for create multiple nested directories recursively with Mkdir.

Command Syntax

mkdir -p {{path/to/{a,b}/{x,y,z}/{h,i,j}}}

Command Breakdown

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

FAQ

Purpose: Exact syntax to create multiple nested directories recursively 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