From the course: CompTIA Security+ (SY0-601) Cert Prep: 8 Network Security Design and Implementation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

curl

curl

- [Instructor] Curl is an extremely helpful command line tool that allows you to retrieve webpages, files and other resources from the internet without using a web browser. Let's take a look at Curl in action. I'm going to use Curl to retrieve my website at certmike.com. And to do so, I just type in the curl command, and then I provide the full URL of my website and hit Enter. Curl then goes and retrieves that page and just dumps it out here on the screen. Now, that actually isn't very useful because I don't read HTML myself, and even if I did, all I see here is a bunch of jQuery and other JavaScript that's not going to help me figure out what's on this webpage. Now ,what I can do instead that's much more useful is save this output to a file. To do that, I just use the same command providing again that URL of my page. And then redirect that output to a file. I'll just call it certmike.html. Now this time,…

Contents