Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Download A File With curl On The Command Line

You can download a file with `curl` like you can in `wget` by using the `-o` (aka `--output`) flag like this:

Code

curl https://www.example.com -o example.html

If you don't want to see the status updates, add `-s` (aka `--silent`)

Code

curl https://www.example.com -s -o example.html