Skip to main content

The readlink command prints the value of a symbolic link or canonical file name.

# To print the absolute path which the symlink points to:
readlink <path/to/symlink>