bash - How do I find all of the symlinks in a directory tree? - Stack Overflow

PHOTO EMBED

Wed Feb 03 2021 06:29:52 GMT+0000 (Coordinated Universal Time)

Saved by @canering

a=$(find / -type l); for i in $(echo $a); do file $i ; done |grep -i broken 2> /dev/null
content_copyCOPY

https://stackoverflow.com/questions/8513133/how-do-i-find-all-of-the-symlinks-in-a-directory-tree