Closed mic47 closed 6 years ago
On some systems (like ubuntu 18.04), readlink does not directly send you to the correct destination, but to alternatives. See this example
> which scala /usr/bin/scala > readlink $(which scala) /etc/alternatives/scala
Readlink has -f option, which follows links recursively. That way it will always find the correct destination.
Thanks!
On some systems (like ubuntu 18.04), readlink does not directly send you to the correct destination, but to alternatives. See this example
Readlink has -f option, which follows links recursively. That way it will always find the correct destination.