Linux command--CD

Source: Internet
Author: User

  1. Command format:

    CD [Directory name]

  2. Command function:

    Switch directories

  3. Common examples:

Example one: Go to the root directory

Command: CD/


Example two: Enter the current user's host directory

Command: CD or cd~


Example three: Entering a specified directory, such as/usr/src

Command: cd/usr/src


Example four: Return to the directory in which it was before entering this directory

Command: CD-


Example five: Go to the top-level directory of the current directory, as the current directory is/USR/SRC

Command: CD.


This article is from the "Shiyu" blog, make sure to keep this source http://928004321.blog.51cto.com/10707688/1730922

Linux command--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.