Making a bash script, and I am trying to figure out a way to find out what my symbolic link points to. Right now, I am doing it with this, but this only works if my symlink is in the current directory. Is there a way to find out what my symlink is pointing to if it is in another directory?

 ls  -l "symlink" | cut -d'>' -f2
Edit
Report