Jamez-s 7648634d3f curl | 6 anni fa | |
---|---|---|
Comments.md | 6 anni fa | |
README.md | 6 anni fa | |
a350.jpg | 6 anni fa | |
debugdump.txt | 6 anni fa | |
example.com.html | 6 anni fa | |
results.txt | 6 anni fa |
Step through each section.
When you see below a question:
Add your answer to Comments.md file. Run the commands, each one and determine the answer to add.
curl
to fetch some URLscurl --trace-ascii debugdump.txt http://www.example.com/
curl --trace-ascii debugdump.txt http://www.example.com/ >> results.txt
curl https://curl.haxx.se
curl https://curl.haxx.se >> results.txt
curl
commands?curl -o example.com.html http://www.example.com/
more example.com.html
open example.com.html
curl -o a350.jpg https://static01.nyt.com/images/2018/05/30/business/30SINGAPORE/merlin_138828375_8d2c8b23-ea8a-43d3-89d1-5556b11ccf5b-jumbo.jpg?quality=90&auto=webp
open a350.jpg
Add to Comments.md the answer to this question:
curl -I http://google.com curl -I http://google.com >> results.txt curl -I http://zipcodewilmington.com
curl -I -L http://zipcodewilmington.com curl -I -L http://zipcodewilmington.com >> results.txt
(This was how a REDIRECT works, first you see a 301 and then get redirected to the actual site.)
and now do:
Save your answers in Comments.md and:
wc results.txt
wc results.txt >> results.txt
now: do a git add, commit and push. Then do a Pull Request. Thx.