0

Find the target path a symlink is pointing to

readlink a_symbolic_link_to_somewhere

March 31, 2012bashoneliners

Explanation

Sure, you could figure out the link target from the output of ls -l a_symbolic_link_to_somewhere too, but the output of readlink is simply the target of the symbolic link itself, so it is cleaner and easier to read.