how to find out dead links

Andras Simon szajmi at gmail.com
Sat Nov 14 11:40:26 UTC 2009


On 11/14/09, Eugeneapolinary Ju <eugeneapolinary81 at yahoo.com> wrote:
> wget -r -p -U Firefox "http://www.somesite.com/" 2>&1 | grep 404 > 404.txt
>
>
> why come 404.txt is 0 Byte? how to put the STDOUT to a file with wget?

I think what you're doing is fine, and the only reason 404.txt is
empty is that there's no server listening on http://www.somesite.com
that could give you a 404.

Andras




More information about the fedora-list mailing list