curl https://tower.aws.world.local --resolve tower.ew1.aws.world.local:443:10.100.100.40 --cacert adcacrt.crt -v
# http proxy
curl -v -x 10.100.25.20:8080 https://google.com -L
# socks proxy
curl --socks5-hostname localhost:8001 http://www.google.com/
# Save as yourfile.tar.gz
curl -O http://yourdomain.com/yourfile.tar.gz
# Save as newfile.tar.gz
curl -o newfile.tar.gz http://yourdomain.com/yourfile.tar.gz