This is really simple. Login via telnet
and navigate to the linksort directory and type
perl linksort.cgi
The script will then start going through the
urls inside of "input.txt" and sorting them into various categories. Take
a look as this is running and you might see:
- 200.txt these are good urls
- 302.txt these are
redirecting to another url
- 404.txt these are file not
founds
- dead.txt these sites are
offline
- unknown.txt these sites are
not classified
- sorted.txt these are the
urls that the program has already sorted
Sometimes the program will hang up on what is
called a "broken pipe". This is a bug in the sockets protocols that can't
be fixed apparently. When this happens (if you see the program hang for a very long
time) hit CTRL-Z to break the program then restart it
perl linksort.cgi
linksort will begin where it left off.
The broken pipe url will get thrown into the "dead.txt" file.