CentOS Command Essay notes (Miscellaneous): CD, PWD

Source: Internet
Author: User

1. Page UP and down:

The reverse commands are generally shift-pageup and shift-pagedown.

Daily one command: CD

1. CD/Enter the system root directory

2. cd. Enter the system root directory to use the CD. "Always back, you can reach the root directory

3. "Current User home Directory" and "system root directory" are two different concepts. There are two ways to access the current user home directory. 1, CD, 2, CD ~

4. CD-Returns the directory where it was before entering this directory

Daily one command: pwd

1. PWD View the full path to the current working directory

2, when the directory connection link, pwd-p shows the actual path, rather than the use of the link path; pwd shows the connection path. (Note capitalization!!!) )

3. Options:

-L directory connection link, output connection path

-P Output Physical path

4, delete the directory, the connection path can also be displayed, but the actual path will prompt error!!

CentOS Command Essay notes (Miscellaneous): CD, PWD

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.