mkdir.1

来自「Unix操作系统minix 2.0源码」· 1 代码 · 共 60 行

1
60
字号


MKDIR(1)                  Minix Programmer's Manual                   MKDIR(1)


NAME
     mkdir - make a directory

SYNOPSIS
     mkdir [-p] [-m mode] directory ...

OPTIONS

     -m   Create directory with mode

     -p   Create missing intermediate directories

EXAMPLES

     mkdir dir           # Create dir in the current directory

     mkdir -p /user/ast/dir
                         # Create the /user/ast and /user/ast/dir

DESCRIPTION

     The specified directory or directories are created  and  initialized.  If
     any  intermediate  directory  is missing and -p is specified, the missing
     component will be created and no error  displayed  if  directory  already
     exists. If the -m flag is used, this will be equivalent to a chmod on the
     directory after its creation.

SEE ALSO
     chmod(1), rmdir(1), mkdir(2).























                                                                             1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?