Home > Operation and Maintenance > Linux Operation and Maintenance > How to create a folder in linux

How to create a folder in linux

Release: 2019-12-25 11:54:04
Original
7499 people have browsed it

How to create a folder in linux

Linux creates directories: mkdir (make directories)

Function description: Create directories

Syntax: mkdir [-p ][--help][--version][-m ][Directory name]

Supplementary explanation: mkdir can create a directory and set the permissions of the directory at the same time.

Parameters:

-m or –mode Set the directory permissions when creating the directory.

-p or –parents If the upper-level directory of the directory to be created has not been created yet, the upper-level directory will be created together.

Example: mkdir test

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of How to create a folder in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template