For this assignment write a script called script8.sh which takes in 1 parameter.
$1, represents an initial url to visit
Your script will crawl the website starting with $1. Your script will download $1 and examine any links to other html files in $1. Your script will then download those files and find links to other HTML files. It will continue this process until it has found every file that can be reached from $1. All links are found in anchor() tags.
Once your script has visited every reachable file, print a list of all files for the website to stdout. The sites should be listed in alphabetical order. You can assume that all HTML files are on the same server.
A set of html files are provided in the site directory of the starter files. To setup a temporary web server on port 8000, the following command can be used.