Linux->> mkdir Command

Source: Internet
Author: User

Create a folder under Linux. Common usage:

1) Create a folder automatically if the parent directory does not exist, so that the command is absolutely guaranteed to run successfully

[Email protected]:/tmp#mkdir-P thisdir/Jerry[email protected]:/tmp#lsConfig-err-6ha607 Unity_support_test.0vmware-file-Mod0config-err-ndgsue Vgauthsvclog.txt.0vmware-guest-Opvia8config-ERR-YVEI5R VMTools vmware-guest-qc4egwguest-opvia8 vmware-config0 vmware-jerryguest-QC4EGW VMWARE-CONFIG1 vmware-rootthisdir vmwarednd vmwaretools-10.0.0-2977863.Tar. Gz[email protected]:/tmp#

2) Create a folder with permissions on the way

mkdir -m=RRR Dir2[email protected]:dir*Dr24096 Dec  5  : dir2/

Linux->> mkdir Command

Related Article

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.