1.\" Copyright (c) 1989, 1990 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)mkdir.1 6.8 (Berkeley) 04/19/91 7.\" 8.Vx 9.Dd 10.Dt MKDIR 1 11.Os 12.Sh NAME 13.Nm mkdir 14.Nd make directories 15.Sh SYNOPSIS 16.Nm mkdir 17.Op Fl p 18.Ar directory_name ... 19.Sh DESCRIPTION 20.Nm Mkdir 21creates the directories named as operands, in the order specified, 22using mode 23.Li \&0777 24modified by the current 25.Xr umask 2 . 26.Pp 27The options are as follows: 28.Tw Ds 29.Tp Fl p 30Create intermediate directories as required. If this option is not 31specified, the full path prefix of each operand must already exist. 32.Tp 33.Pp 34The user must have write permission in the parent directory. 35.Pp 36.Nm Mkdir 37exits 0 if successful, and >0 if an error occurred. 38.Sh SEE ALSO 39.Xr rmdir 1 40.Sh STANDARDS 41Mkdir is POSIX 1003.2 compliant. 42This manual page is derived from the POSIX 1003.2 manual page. 43