February 24, 2003
readlink
I'm genuinely surprised the OpenBSD readlink utility isn't part of more distributions. It does the very simple job of returning the filename or full pathname of any symlink handed to it. So if you want to dereference a symlink back to it's original file, readlink is the tool to do it.
Comments







