$ ./guess_the_languageLinux CLI
Linux CLI · easy · #34

What does the -I flag make curl do?

curl -I https://example.com
  1. Fetch only the response headers
  2. Ignore any TLS certificate errors
  3. Save the body to a local file
  4. Follow redirects automatically
-I sends a HEAD request and prints the headers; -k ignores TLS errors and -L follows redirects.
Play Linux CLI ▸