$ readlink -f relative/path
Gives a full path equivalent to the relative path, and follows every symlink in every component of the name in order to canonicalize it.
$ readlink -f relative/path
Gives a full path equivalent to the relative path, and follows every symlink in every component of the name in order to canonicalize it.