Sometimes a link is pointing to a link, that is pointing to a link etc. It is a pain to resolve all the links and find which is the final file.
But there is a command that you can use to make things easier, and it is called readlink.
readink -f filename will traverse all the paths and print out the final filename
But there is a command that you can use to make things easier, and it is called readlink.
readink -f filename will traverse all the paths and print out the final filename
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.