PWD View the full path to the current working directory

Source: Internet
Author: User

Linux in use pwd command to view the full path of the current working directory. Simply put, you will have a current working directory every time you operate in a terminal.  

when you are unsure of your current location, you will use the pwd to determine the exact location of the current directory within the file system.

1 . command format:

pwd [ options ]

2 . Command function:

View the full path to the current working directory

3 . Common examples:

Example 1: Viewing the full path of the default working directory with the PWD command

Command:

[Email protected] ~]# pwd

Output:

[Email protected] ~]# pwd

/root

[Email protected] ~]#


This article from "Flat Light is true" blog, please be sure to keep this source http://wuxiujian.blog.51cto.com/10583235/1748949

PWD View the full path to the current working directory

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.