3 ms·
pwd -P would be equivalent and more portable (POSIX compliant[1]) than readlink -f . which doesn't work on BSD-based systems. [1]: http://pubs.opengroup.o
by fjarlq 11y ago
pwd -P
would be equivalent and more portable (POSIX compliant[1]) than
readlink -f .
which doesn't work on BSD-based systems.
[1]: http://pubs.opengroup.org/onlinepubs/009696899/utilities/pwd.html http://pubs.opengroup.org/onlinepubs/009696899/utilities/pwd...