curl --remote-name "https://example.com/linux-distro.iso"
rename file
curl --remote-name "http://example.com/index.html" --output foo.html
Comments
Related
curl --remote-name "https://example.com/linux-distro.iso"
rename file
curl --remote-name "http://example.com/index.html" --output foo.html