Graphical Linux command: Creating a directory with the mkdir command

Source: Internet
Author: User
Keywords Linux commands creating a directory
Tags aliyun control create creating creating a creating a directory directory example

In Linux we already have a very sophisticated graphical interface. However, in many cases, the use of command-control systems is very practical. For example, when the graphical interface fails to enter, and the server requires software to conserve resources, http://www.aliyun.com/zixun/aggregation/13879.html "> The system administrator usually uses the command to complete the work."

In a Linux system, building a directory is a common task, as is the case with other systems. Now friends can come to understand the use of the mkdir command to build a directory in Linux.

Please open the terminal friends, my current location is/root directory. If we want to create a directory named my in the/root directory, you can enter a command in the terminal: mkdir my.

If we enter the above command again, we are trying to create a directory with the same name in the same directory. See what happens?

Oh! Very well, the terminal gave us a clear hint: "mkdir: Unable to create directory ' my ': file already exists." Please note that because the "Red Flag 5.0" culture is very good, so we see the Chinese hint. Although the "Red Flag 5.0" terminal is not all commands have Chinese hints, but after all, part of the Chinese also gave a large number of users quite convenient.

We now open the/root directory to see if there is a more directory named My.

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.