Follow symlinks and get symlink information. More information: https://www.gnu.org/software/coreutils/readlink.
readlink path/to/file
readlink -f path/to/file