MKDIR(1)
โจ mkdir โ the manual page, but make it cute โจ
okay bestie, welcome to mkdir from the User Commands crew ๐ this is the make directories girlie and she is lowkey carrying your entire filesystem setup. no cap.
๐ NAME ๐
mkdir โ make directories โจ
๐ธ SYNOPSIS ๐ธ
mkdir [OPTION]... DIRECTORY...
๐ DESCRIPTION ๐
Create the DIRECTORY(ies), if they do not already exist. that's the whole vibe. you point at names, she makes folders, done ๐ซถ
real talk though: mandatory arguments to long options are mandatory for short options too. like if a long option needs a value, its short twin needs the exact same value. no skipping, bestie.
๐ OPTIONS ๐
-m,--mode=MODEโ sets the file mode, the same waychmoddoes it. it is nota=rwx - umask, so don't come in here assuming umask math is happening, because it is not ๐-p,--parentsโ no error if it already exists, and she'll make parent directories as needed. also: those parent dirs get their file modes unaffected by any-moption โ yes, even if you passed-m. iconic behaviour honestly ๐-v,--verboseโ prints a message for each created directory. she's narrating her own success story ๐ฃ-Zโ sets the SELinux security context of each created directory to the default type ๐--context[=CTX]โ like-Z, or if CTX is specified then it sets the SELinux or SMACK security context to CTX ๐ง--helpโ display this help and exit ๐--versionโ output version information and exit ๐ท๏ธ
๐ AUTHOR ๐
Written by David MacKenzie. thank you king, we owe you our whole directory tree ๐ซก
๐ REPORTING BUGS ๐
- Report bugs to:
bug-coreutils@gnu.org - Report any translation bugs to:
https://translationproject.org/team/ - GNU coreutils home page:
https://www.gnu.org/software/coreutils/ - General help using GNU software:
https://www.gnu.org/gethelp/
if something's broken, tell the people. that's it. that's the rule ๐ญ
๐ COPYRIGHT ๐
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. fr fr, no warranty bestie, don't come for her if things go sideways ๐
๐ฆ SEE ALSO ๐ฆ
Full documentation https://www.gnu.org/software/coreutils/mkdir or available locally via: info '(coreutils) mkdir invocation'
and that's the whole page, you ate it, you understood it, periodt ๐
GNU coreutils 9.12 ยท September 2026 โ xoxo, your local manual page fairy ๐ง๐
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms