![]() |
![]()
| ![]() |
![]()
NAMEmkdir - make a directory SYNOPSISmkdir [-m mode] [-p] dirname ... DESCRIPTIONMkdir creates specified directories in mode 777, taking the file creation mask into account (see umask(2)). Standard entries, `.', for the directory itself, and `..' for its parent, are made automatically. Mkdir requires write permission in the parent directory. The following options are accepted:
If the set-group-ID bit is set on the parent directory of a newly created directory, it is inherited regardless of the -m option unless explicitly specified as a symbolic mode with `+' or `-'. SEE ALSOchmod(1), rmdir(1), mkdir(2), umask(2) DIAGNOSTICSMkdir returns exit code 0 if all directories were successfully made. Otherwise it prints a diagnostic and returns nonzero.
|