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}}} 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
Mkdir Command: Create Directories With Parents
mkdir -p <path/to/directory1 path/to/directory2 ...> Mkdir Command: Create Directories With Specific Permissions mkdir -m <rwxrw-r--> <path/to/directory1 path/to/directory2 ...> Mkdir Command: Create Directory Windows mkdir <path\to\directory> Mkdir Command: Create Nested Directory Tree Recursively Windows mkdir <path\to\sub_directory> Mkdir Command: Create Specific Directories mkdir <path/to/directory1 path/to/directory2 ...>