MKDIR(1)
π MKDIR(1) β the create-a-directory glow-up π
okay so bestie, welcome to mkdir, from the General Commands Manual β yes that's the manual name, we're fancy now π
this is the little icon that makes folders appear out of thin air, and honestly? it ate.
β¨ NAME β¨
mkdir β Create the given DIRECTORY(ies) if they do not exist π
like, that's it. that's the whole job. she creates directories. she does not exist for anything else. main character energy fr fr.
π¦ SYNOPSIS π¦
mkdir [OPTION]... DIRECTORY...
translation: options first (if you want them), then the directory names, and you can pile on as many of each as your little heart desires π
πΈ DESCRIPTION πΈ
Create the given DIRECTORY(ies) if they do not exist β¨
no cap, that's the entire vibe. you point at a name, she makes the folder. if the folder's already chillin' there, she's not gonna make a whole thing of it. iconic behaviour, honestly π«Ά
π OPTIONS π
-m,--modeβ set file mode β and heads up bestie, this one is not implemented on windows π so if you're on windows, don't come for her, she literally can't.-p,--parentsβ make parent directories as needed π like, if you ask fora/b/cand none of them exist, she'll build the whole little family tree for you. so thoughtful.-v,--verboseβ print a message for each printed directory π yes, "printed" directory, that's what it says, we don't make the rules, we just report them faithfully. she gets chatty, okay?-Zβ set SELinux security context of each created directory to the default type π₯ security girlies rise.--context <CTX>β like-Z, or ifCTXis specified then set the SELinux or SMACK security context toCTXπ so it's-Zwith extra steps β and you get to pick theCTXyourself. SMACK mention included, no notes.-h,--helpβ Print help π§ when you're lost, she's got you.-V,--versionβ Print version β gotta know what you're working with.<dirs>β the directories themselves!! the whole point!! put your names here bestie π
π EXTRA π
okay this is the part where the mode syntax shows up and it's giving cryptic but we're gonna read it together, don't panic π
Each MODE is of the form:
[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=]?[0-7]+
that's a whole regex and she's beautiful. just copy it exactly if you need it, do not try to retype it from memory, i'm begging you π
π₯ VERSION π₯
v(uutils coreutils) 0.12.0 β that's our girl's version number, note it down π
ngl bestie, a tiny warning from me to you: -m doing nothing on windows is the one thing that'll have you staring at your terminal like π so remember it, k?
and that's the page!! this was MKDIR(1) from the General Commands Manual, version v(uutils coreutils) 0.12.0, dated 2026-09-17 β mwah, love you, go make some folders πππ¦β¨
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms