Como procurar links quebrados no Linux

Eventualmente você quer saber se há links quebrados no seu sistema. Uma maneira rápida de vc verificar é ir até um diretório e digitar:

find -L . -type l

find é o comando de procura. O efeito prático da flag -L em conjundo com o -type l, que manda o find procurar apenas arquivos do tipo link, é a impressão apenas dos links quebrados.

This entry was posted in Sem categoria and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>