Concise Linux Command Line Notes 2: cd

Source: Internet
Author: User

Concise Linux Command Line NOTE 2: cd cdcd is the abbreviation of change directory, mainly used to change the current directory www.2cto.com 1. usage cd [dirName] 2. common parameters without parameters indicate that the path is directly changed to the home directory-return to the previous directory ~ Same as above. It is also changed to the main directory/dir to the dir directory, and/dir .. switch to the parent directory. Pay attention to cd .. there is a space in the middle. indicates the current directory, cd. not significant 3. command tip cd/change to the root directory siu @ Darling ~ $ Cd/cd ~ Change to the main directory siu @ Darling/$ cd ~ Www.2cto.com cd .. return to the parent directory siu @ Darling ~ /Work $ cd... siu @ Darling ~ $ Cd-return siu @ Darling ~ $ Cd/tmpsiu @ Darling/tmp $ cd ~ Siu @ Darling ~ $ Cd-/tmpsiu @ Darling/tmp $ cd... back to the second-level directory siu @ Darling/tmp/mintUpdate $ cd... siu @ Darling/$

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.