mkdir -p [目录名]
-p递归创建
英文原意:make directories
例如:
xiaolu@bogon:~$ mkdir bols xiaolu@bogon:~$ mkdir japan/cangls mkdir: cannot create directory ‘japan/cangls’: No such file or directory xiaolu@bogon:~$ mkdir -p japan/cangls xiaolu@bogon:~$ ls -R .: bols japan ./bols: ./japan: cangls ./japan/cangls: