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]]

**mkdir** create directoriy

mkdir [options] dir [dir ...]


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


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.

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki