Linux commands [3]:CD

Source: Internet
Author: User

change Directory

CD [catalogue]

Simplified operation:

CD ~ Enter the current user home directory

CD Ibid.

CD-Go to last directory

Cd.. Go to Parent Directory

Cd. Go to current directory

Supplemental absolute path/presentation root

Such as:

[[Email protected] ~]# CD//]# CD///]# CD./home/

First home: Go to the root directory home directory

Second home: Go to the home directory under the current directory (currently in the directory viewing method pwd)

---------------------------------------------------------------------------------

You can press TAB completion when you forget the full list (the Linux tab completion function can complete the command, directory, file name)

such as: I enter the CD in the root directory. The/h + TAB system automatically complements the CD./home/(if multiple, double-click tab two to display the list)

Linux commands [3]:CD

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.