Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mkdir

v0.13.0
mkdir [OPCIÓN]... DIRECTORIO...

Crear el/los DIRECTORIO(s) dado(s) si no existen

Options

--mode, -m

set file mode (not implemented on windows)

--parents, -p

make parent directories as needed

--verbose, -v

print a message for each created directory

-Z

set SELinux security context of each created directory to the default type

--context=<CTX>

like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX

Cada MODO tiene la forma [ugoa]*(-+=)+|[-+=]?[0-7]+.

Examples

Crea los directorios especificados:

mkdir {{ruta/al/directorio1 ruta/al/directorio2 ...}}

Crea directorios recursivamente y sus padres si es necesario:

mkdir {{[-p|--parents]}} {{ruta/al/directorio}}

Crea directorios con permisos específicos:

mkdir {{[-m|--mode]}} {{u=rwx,g=rw,o=r}} {{ruta/al/directorio1 ruta/al/directorio2 ...}}

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.