Linux Directory processing commands

Source: Internet
Author: User

1 Creating commands

Mkdir-p Directory Name

Where-p means recursive creation, English for Make directories

[Email protected]:~$ mkdir Test

The above command creates a folder under the current path test

[Email protected]:~$ mkdir-p mm/x

The above code first creates the folder mm, and then creates the folder x in mm, at which point, using-p means to create the folder recursively

2 Switch Directory command

CD [catalogue]

English meaning Change Directory

Simplify operations

CD + Enter the current user's home directory

CD ~ also indicates access to the current user's home directory

CD-Go to the previous directory

Cd.. Go to the top level directory

Cd. Go to current directory

When you are not familiar with the command, use the table key to complete the command, if the command is not only one, then press the table keyboard will list all the commands involved.

Linux Directory processing commands

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.