linux pwd command – print name of current/working directory
Linux pwd command is mainly used to print the full filename of the current working directory.
- -L, –logical
use PWD from environment, even if it contains symlinks
- -P, –physical
avoid all symlinks
Examples & Use Cases
Print the full filename of the current working directory