curl -L https://example.com

Category: Networking

curl -L https://example.com

Follow redirects automatically

Follows HTTP redirects automatically. Without -L, curl stops at the redirect and doesn't follow it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.