The full path to use the PWD command to view the current working directory in Linux. Simply put, you will have a current working directory every time you operate in a terminal.
1.
pwd [ Options]
2. Command function:
View the full path to the current working directory
3. Common parameters:
Normally without any parameters
If the directory is a link :
Format:pwd-p shows the actual path, not thelinkpath.
Other parameters:
--help online Help.
--version Displays version information.
4. Common examples:
Example 1: Viewing the full path of the default working directory with the PWD command
input command: pwd
Output command:
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/82/5E/wKiom1dSqc_Svsx5AAAJ3FuXEMw184.jpg-wh_500x0-wm_3 -wmp_4-s_2480063008.jpg "title=" qq20160604181312.jpg "alt=" Wkiom1dsqc_svsx5aaaj3fuxemw184.jpg-wh_50 "/>
Example 2:Directory Connection Linkwhen the pwd-p show the actual path instead of using the link path; pwd The connection path is displayed
Input command: pwd-p
PWD command still displays the directory
Summary of Common Linux commands (iv) PWD