Created
June 15, 2019 16:55
-
-
Save markcam1/800a20088949df44f7ea35e3ccc56e55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Mark Cameron: shell script to download website | |
printf "starting script ...\n\n" | |
# URL VARIABLE: THIS IS USED TO STORE THE URL (UNIFORM RESOURCE LOCATOR) | |
URL=https://asciiart.website/index.php?art=animals/horses | |
# THIS LINE USES WGET SOFTWARE TO DOWNLOAD DOCUMENTS FROM THE INTERNET | |
wget $URL | |
# WE PRINT THIS OPTIONAL TEST TO THE COMMAND LINE | |
printf "ending script..\n" | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment