by rcyeh · 2mo ago · 0 comments
-L Display the logical current working directory.
-P Display the physical current working directory (all symbolic links resolved).
If no options are specified, the -L option is assumed.
In your example, using `-P` will show `Cased`.https://manpages.ubuntu.com/manpages/stonking/man1/pwd.1.htm...
Interestingly, it wasn't designed to deal with case, but to select whether to resolve symbolic links:
$ cd /tmp
$ mkdir a
$ ln -s a b
$ cd b
$ pwd && pwd -P
/tmp/b
/tmp/a