I have a symlink file like this,
cd /tmp ln -s /bin/ls /test Now I would like to resolve ../test to /test, but the readlink command also resolves the symbol link for me, e.g
$ readlink -f ../test ../test -> /bin/ls Is there any command that would output /test instead?