Wiki source for CommandMkdir


Show raw source

=====Command mkdir=====

This command is part of the [[CommandsPosix posix]] extensions and needs to be imported to be available to the shell.
See [[CommandsPosix Posix Commands]]

====Name====
**mkdir** create directoriy


====Synopsis====
mkdir [options] dir [dir ...]

====Options====

||-p,-parents|| Creates parent directories as necessary||


====Description====

Creates a directory for each argument. If the '-p' flag is present then creates parent directories as needed, other the command will fail if the parent does not already exist.


====Return Value====
Returns 0 if the command executed successfully, 1 if there was an error.

----
[[Commands]]
[[CategoryCommands]]
[[CommandsPosix]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki