Linux Networking: Troubleshooting and Diagnostics/Show proxy environment variables

Inspect current shell proxy settings.

Section: Name Resolution and Proxy Problems

Show proxy environment variables

bash
bash
env | grep -i proxy
Explanation

Inspect current shell proxy settings.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Name Resolution and Proxy Problems
Bypass proxy for one request
Temporarily skip configured proxies for a single cURL request.
OpenIn sheetbashsame section
Inspect NSS host order
Show how hostname resolution is ordered.
OpenIn sheetbashsame section
Flush systemd-resolved caches
Clear cached DNS results.
OpenIn sheetbashsame section
Show link status with networkctl
Inspect status for a systemd-networkd link.
OpenIn sheetbashsame section
Ping a host
Send ICMP echo requests to test basic reachability.
Show systemd-networkd logs
Inspect logs for systemd-networkd.