On Fri, 2022-09-16 at 14:55 +1000, Michael D. Setzer II via users
wrote:
> I've run this little script from time to time in /
> 
> find . -xtype l >/badlinks 2>ERR
> grep -v '/proc\|/run' </badlinks >/badlinks-clean

Not really relevant to your question, but you could make this a one-
liner:

find / -xtype l |& grep -v '^/proc\|^run' > /badlinks-clean

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to