Linux Command Summary --pwd command

pwd
 

Brief introduction

  pwd (print work directory Print the current directory) command displays the user's current working directory to the absolute path of the way.

usage

 pwd [-LP]1
 

parameter


When the directory is -L -logical connection path, the connection path display
-P -physical show the actual physical path, rather than using a connection (link) path


Examples

1 shows the physical path to the current directory
1
 
[root@VM_0_4_centos home]# pwd -P
/home12
2, shows the connection of the current directory path
1
 
[root@VM_0_4_centos home]# pwd -L
/home/chenwei/home12
reference
http://www.cnblogs.com/xqzt/p/5380102.html
----------------
Disclaimer: This article is CSDN blogger "ab_xue 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/ab_xue/article/details/80740253

Guess you like

Origin www.cnblogs.com/hanjiali/p/11589388.html