.TH MKDIR 1 .SH NAME mkdir \- make a directory .SH SYNOPSIS .B mkdir dirname ... .SH DESCRIPTION .I mkdir creates specified directories in mode 777, subject to masking by .IR umask (2). Standard entries, .RB ` . ', for the directory itself, and .lg 0 .RB ` .. ' .lg 1 for its parent, are made automatically. .PP .I mkdir requires write permission in the parent directory. .SH "SEE ALSO" rm(1) .SH DIAGNOSTICS .I mkdir returns exit code 0 if all directories were successfully made. Otherwise it prints a diagnostic and returns nonzero.