mkdir
Verified for current stable LTS
Mkdir Command: Create Directories With Specific Permissions
Use for create directories with specific permissions with Mkdir. Exact CLI syntax to create directories with specific permissions using Mkdir.
When to use this: Use for create directories with specific permissions with Mkdir.
Command Syntax
mkdir -m <rwxrw-r--> <path/to/directory1 path/to/directory2 ...> mkdir -m <rwxrw-r--> <path/to/directory1 path/to/directory2 ...> Command Breakdown
-m- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create directories with specific permissions 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 Multiple Nested Directories Recursively mkdir -p {{path/to/{a,b}/{x,y,z}/{h,i,j}}} Mkdir Command: Create Specific Directories mkdir <path/to/directory1 path/to/directory2 ...> Grep Command: Search For A Pattern In All Files Recursively grep -rI "<search_pattern>" <path/to/directory> 7zr Command: Encrypt An Existing Archive 7zr a <path/to/encrypted.7z> -p<password> -mhe=<on> <path/to/archive.7z>