The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

pwd - Print Working Directory



The pwd command stands for "print working directory." When you run this command, it prints the absolute path of your current working directory, starting from the root directory. It's a useful command when you want to know your current location in the directory structure.

Example:
pwd 
/home/user/documents
# You can also use the "-P" option to display the physical working directory, which resolves symbolic links to their real paths
pwd -P 
/var/www/html

For more examples and operations related to pwd, you can refer to the provided link.