Linux Common Commands Summary--pwd

Source: Internet
Author: User

Name: pwd

Purpose: Print user's current/working directory

Usage: pwd [option]

Parameters:

-L Output Connection path when,--logical directory connection link

-p,--physical Output Physical Path


Test 1:

[Email protected] home]# pwd

/home


Test 2:

Create a soft connection to a directory

[Email protected] home]# ln-s test ln_test

[Email protected] home]# CD ln_test/

[Email protected] ln_test]# pwd

/home/ln_test

[Email protected] ln_test]# pwd-l #显示当前的路径

/home/ln_test

[Email protected] ln_test]# pwd-p #显示物理路径

/home/test


Linux Common Commands Summary--pwd

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.