pwd (print working directory) Displays the absolute path of the user's current working directory .
pwd Command to change the full path name of the current user's working directory （ From root directory ） Standard output in absolute path on screen .
tree [ Options ] [.....] pwd [OPTION]...
-P # Print the full path information of the current directory --help # Display help information --version # Display version information
# Print the current working directory path [root@centos7 dir]# pwd /root/testdir/dir # Here's the linked file [root@centos7 var]# ll mail lrwxrwxrwx. 1 root root 10 Aug 20 10:31 mail -> spool/mail [root@centos7 mail]# pwd /var/mail [root@centos7 mail]# pwd -P /var/spool/mail
pwd The order is very simple , Basically, only the function of printing the current working directory will be used , So it's easy to master , Same as cd/ls/shutdown Wait for some orders , Belongs to the most basic command of entry .
This article is from WeChat official account. - The road of technology for migrant workers （jishuroad） , author ： Click to follow ????
The source and reprint of the original text are detailed in the text , If there is any infringement , Please contact the firstname.lastname@example.org Delete .
Original publication time ： 2021-01-19
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .