Esta questão relacionada , fornece uma maneira de identificar um link simbólico recursivo usando o comando find
:
$ find -L .
.
./a
./a/b
./a/b/c
./a/b/c/d
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