Quantcast
Viewing all articles
Browse latest Browse all 14

Answer by Iskren for How can I find broken symlinks

I use this for my case and it works quite well, as I know the directory to look for broken symlinks:

find -L $path -maxdepth 1 -type l

and my folder does include a link to /usr/share but it doesn't traverse it. Cross-device links and those that are valid for chroots, etc. are still a pitfall but for my use case it's sufficient.


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>