Linux Small Life (6) CD

Source: Internet
Author: User

Linux commands (6) CD

CD is the command to switch directories under Linux, and the CD specifies that the user can switch between different directories, but the user must have sufficient privileges to enter the destination directory

?

Command format:

CD [Destination directory]

?

Common commands:

#cd ~

Go directly to the user home directory "Home"

?

#cd –

Returns the last user's directory

#cd/root/

Use the feel path to enter the directory

#cd:

Use a relative path to enter the directory, CD: is the representative to return to the previous level directory

Linux Small Life (6) CD

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.