In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Today, the editor shares with you which command linux uses to create a directory. I believe many people don't know much about it. In order to let you know more about the command for creating a directory in linux, we summarize the following contents and let's look down together. I'm sure you'll get something.
The mkdir command, which stands for make directories, is used to create a new directory, which is available to all users.
Recommended: Linux self-study video
The basic format of the mkdir command is:
[root@localhost ~] # mkdir [- mp] directory name
The-m option is used to manually configure permissions for the created directory instead of using the default permissions.
The-p option recursively creates all directories. Take creating / home/test/demo as an example. By default, you need to create each directory layer by layer, while using the-p option, the system will automatically create / home, / home/test and / home/test/demo for you.
Example:
[root@localhost ~] # mkdir cangls [root@localhost ~] # lsanaconda-ks.cfg cangls install.log install.log.syslog
About linux to create a directory which command to share here, I hope that the above content can have a certain reference value, you can learn to apply. If you like this article, you might as well 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.