Content of /tricks/ section is open-source.

You're welcome to:

Terminal/Shell/CLI Tricks

Check HTTP headers with curl

curl --head HTTP_URL

# or simply:
curl -I HTTP_URL

The -I flag (shorthand for --head) fetches only the HTTP headers from a server. This is the fastest way to inspect status codes, content types, and server metadata without downloading the actual page content.


Tricks for Geeks

© 2025–2026

CC BY-SA 4.0