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

Category: Networking

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

Download URL content to a file

Downloads a URL's content and saves it to a file. -o specifies the filename.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.