Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of creating Catalog in linux system

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article uses easy-to-understand examples to introduce the method of creating a directory in the linux system, the code is very detailed, interested friends can refer to, I hope it can be helpful to you.

The way to create a directory under linux is by using the mkdir command.

Mkdir syntax

Mkdir [- p] dirName

Parameter description:

-p: make sure the directory name exists, and create one if it doesn't exist.

Example:

Create a test directory under the / urs/ directory.

Enter the command: mkdir / usr/test, and you can create it successfully.

Example:

Create a subdirectory under a non-stub directory.

Create a test1_1 directory under the / urs/test1/ directory. / urs/test1 does not exist.

Enter the command: mkdir-p / usr/test1/test1_1, and you can create it successfully.

On the linux system to create a directory method to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report