JAEN

Linux

curl

SafeHTTP client

curl -I <url>

Requests a URL; -I headers, -v verbose, -o save, -L follow redirects.

Examples

  • curl -I https://example.comCheck response headers
  • curl -v https://example.comInspect TLS/connection

Syntax

curl [-I] [-v] [-o <file>] [-L] <url>

Before you run it

Usually read-only; POST has side effects.

Used when you see

SSL / certificate errors
2
Inspect via HTTP-v shows TLS detail
See the whole flow →
Connection fails through a proxy
2
Test with curl both via proxy and direct
See the whole flow →

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store