linux-File Processing command-mkdir

Source: Internet
Author: User

mkdir
1. Role
The purpose of the mkdir command is to create a subdirectory named DirName, similar to the MD command under MS DOS, which is used by all users.
2. Format
mkdir [Options] Directory name
3.[options] Main parameters
-M,--mode= mode: Set permissions, similar to chmod.
-P,--parents: Creates a top-level directory when needed, and is not considered an error if the directory already exists.
-V,--verbose: Displays information each time a new directory is created.
--version: Show version information and leave.
4. Application examples
you can set permissions for the directory at the time of catalog creation, and the parameters used are "-M". Assuming that the directory name you want to create is "tsk", so that all users have rwx (that is, read, write, execute), you can use the following command:
$ mkdir-m 777 Tsk

This article is from the "--" blog, please be sure to keep this source http://57388.blog.51cto.com/47388/1544714

linux-File Processing command-mkdir

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.