CD of Linux commands

Source: Internet
Author: User

CD command

Useful: Jump Directory

Usage: Enter the CD plus the directory you want to jump to, here are a few things

Example:

One, enter the subdirectory of the current directory

My current directory is/home/jim,

  

There are a lot of folders under this directory, now I want to go into one of the folders, directly using the cd+ directory name, such as I want to enter Shuyunquan this folder inside

  

This is a use of the CD command, directly into the current directory subdirectory, the command is cd+ directory name

Second, return to parent directory page is parent directory

I want to go back to my parent directory, using CD:

  

Iii. Irrelevant catalogue

I want to jump to the directory is not a subdirectory is not a parent directory but another irrelevant directory, this time to use the path. I am now here in the Shuyunquan folder under the B folder inside

  

I want to jump to the test directory with the Shunyunquan directory peer

  

Then the path is used,

  

These three are the more common commands for CDs.

CD of Linux 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.