I'm sitting in front of a Linux shell. I want to do something like pwd, except I want an absolute answer, i.e. I want any symlinks to be resolved to their true path. How can I do that?
You should be able to use pwd -P
tony@matrix:/var/vhosts$ pwd -P
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago