curl commend details code example
Example 1: curl I flag
User -I flag to only retrieve headers of a curl request:
curl -I [url]
Example 2: how to use curl command in ubuntu
curl -O http://mirrors.edge.kernel.org/archlinux/iso/2018.06.01/archlinux-2018.06.01-x86_64.iso \ -O https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.4.0-amd64-netinst.iso