I am experiencing an issue with a indexing program running much longer than expected. I want to rule out the possibility of a recursive symbolic link. How could I find a symbolic link that is recursive at some level?

  • 5
    previously, previously – Jeff Schaller Apr 18 '16 at 1:46
  • @JeffSchaller, The first link does detect recursive symbolic links. Thank you for pointing me to that. I saw the second question you linked before posting this question. That does not provide a way to find such a link. – Steven C. Howell Apr 18 '16 at 2:29

This related question, provides a way to identify a recursive symbolic link using the find command:

$ find -L . 
find: File system loop detected; `./a/b/c/d/e' is part of the same file system loop as `./a/b'.
find: `./a/b/e': Too many levels of symbolic links
|improve this answer|||||
  • can you filter out only those results? – endolith Mar 20 at 18:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.