Linux frequently used commands (two)-CD

Source: Internet
Author: User

Linux CD command can be said to be the most important command in Linux, the other command statements to operate, are based on the use of the cd command. So, learning Linux often uses commands. The first step is to learn the use of CD command skills.


1. command format:

CD [ folder name ]


2. command function:

Toggle the current folder to Dirnam e


3. frequently used examples

Example 1 Enter the system root folder

command: CD/


Example 2 return to the previous level folder

command :  CD.. or CD..//


Example 3 access to the current user's home folder (root folder)

command: CD or cd~


Example 4 jump to a specified folder

Command: Cd/home/jim


Example 5 returns the folder where the folder was before it entered

Command: CD-






Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

Linux frequently used commands (two)-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.