Finding Infinite Symlink Loops
Sometimes you can find yourself in symlinking hell when you’ve inadvertently created a loop of links, where link A refers to file B, and file B is another link back to A, for example.
You can use the GNU version of ‘find’ to discover where the link loops are. This information is from a bug report [...]