Install chase by entering the following commands in the terminal:
sudo apt update sudo apt install chase
Follow a symlink and print out its target file
Chase is a small utility for tracking down the actual file that a symbolic link points to - chasing the symlink, if you will. The result of a successful run is guaranteed to be an existing file which is not a symbolic link.