Simple bash script to provide a list of urls in a text file and have a report of them
Go to the terminal and execute the script file by typing:
$ sh script.sh /path/to/urls/file
$ sh script.sh /path/to/urls/file > /path/to/output/file
Useful to identify pages returning errors or validate when redirects are being performed.
- 200 OK
- 300 Multiple Choices
- 301 Moved Permanently
- 302 Found
- 304 Not Modified
- 307 Temporary Redirect
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 410 Gone
- 500 Internal Server Error
- 501 Not Implemented
- 503 Service Unavailable
- 550 Permission denied