Interview Prep/Linux/Networking, SSH & Scheduling

What happens, step by step, when you run `curl https://example.com`?

AdvancedConceptNetworking, SSH & Scheduling
Answer
  1. Name resolution via /etc/nsswitch.conf → /etc/hosts → DNS resolver in /etc/resolv.conf (often systemd-resolved at 127.0.0.53).
  2. Routing decision (ip route get), ARP for the gateway MAC.
  3. TCP three-way handshake to port 443.
  4. TLS handshake: SNI, certificate verification against the CA store, key exchange.
  5. HTTP request sent; response received and printed.
  6. Connection closed (or kept alive).

curl -v shows most of these steps.

All Linux questions Roadmap: Linux

More on Networking, SSH & Scheduling