The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"
tell 729 commands, 1935 examples
Learn about the Linux system's reference books, desk book, encountered the command or command not understand the options can be found
Strive to publish content every day
mkdir command
use the mkdir command to create a directory on a Linux system.
Command syntax:
mkdir [ options ] [ contents ]
The meanings of the options in the command are as follows is shown.
table mkdir command options meaning
options |
|
-m < permissions mode > |
set permissions on the newly created directory, when the-m option is not available, the default permission is 755 |
-V |
Displays information each time a new catalog is created |
-P |
Can be a path name. At this point, if some directories in the path do not already exist, and with this option, the system will automatically create directories that do not already exist, that is, multiple directories can be established at one time |
Example : Create directory newdir1with default permissions of 755.
[Email protected]~]# mkdir Newdir1
Example : Create a directory Newdir2with permissions of 777.
[Email protected]~]# mkdir-m 777 Newdir2
This article is from the "airfish2000" blog, make sure to keep this source http://airfish2000.blog.51cto.com/10829608/1874648
mkdir Command--linux command application of large dictionary 729 commands interpretation