Using Alfred to Retrieve Local Network Information
To quickly access my network proxy information and public IP details, I created a workflow for convenience.
Screenshots
Implementation
The workflow relies on the following commands to retrieve network information:
Retrieve network proxy info:
1
2
3networksetup -getsocksfirewallproxy "Wi-Fi"
networksetup -getwebproxy "Wi-Fi"
networksetup -getsecurewebproxy "Wi-Fi"Retrieve public IP info:
1
curl ifconfig.me
At the end
With this workflow, local network information can be accessed quickly and efficiently.