Command mkdir


This command is part of the posix extensions and needs to be imported to be available to the shell.
See 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
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki