1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00
serenity/Base/usr/share/man/man1/mkdir.md
Xavier Defrang 6ca34f5647 mkdir: Implement --mode option
Only supports permissions given in octal format
at the moment.
2021-12-21 13:13:04 -08:00

541 B

Name

mkdir - create directories

Synopsis

$ mkdir [options...] directories...

Description

Create a new empty directory for each of the given directories.

Options

  • -p, --parents: Create parent directories if they don't exist
  • -m, --mode: Sets the permissions for the final directory (possibly altered by the process umask). The mode argument must be given in octal format.

Examples

$ mkdir -p /tmp/foo/bar
$ mkdir -m 0700 /tmp/owner-only

See also