Download a file
Saves the file in the current directory under its name from the URL, following redirects and failing on HTTP errors.
curl -fLO https://example.com/file.tar.gzEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/curl.md), licensed under CC BY 4.0.