mkdir
1. The role of
the role mkdir command is to create a subdirectory named dirname with the MS DOS md command similar to its use rights for all users.
2. Format
mkdir [options] 目录名
3. [options] The main parameters
-m, --mode = mode: Set permissions, and chmod similar.
-P, --parents: Create a parent directory when needed; if the directory already exists, not as an error.
-V, --verbose: each time you create a new directory will display information.
--Version: After leaving the show version information.
4. Application examples
can set permissions directory during directory creation, the parameters used in this case is "-m". Suppose you want to create a directory name is "tsk", so that all users have rwx (ie, read, write, and execute permissions), you can use the following command:
$ mkdir -m 777 tsk