3 ms·
I use Windows, Mac, and Linux systems regularly, and frequently get ipconfig and ifconfig mixed up. So I was vaguely aware that both commands existed on macOS a
by wtallis 2y ago
I use Windows, Mac, and Linux systems regularly, and frequently get ipconfig and ifconfig mixed up. So I was vaguely aware that both commands existed on macOS and your comment prompted me to try both to see if either exposed the SSID.
- godelski 2y agoMakes sense. I'm mostly a Linux person myself, but strongly prefer a Mac laptop over a Windows laptop. And for those that just want SSID, try either of these ipconfig getsummary en0 | grep -e '[^B]SSID' | cut -d " " -f5 ipconfig getsummary en0 | grep -e '[^B]SSID' | sed -E 's/^.*: (.*)/\1/g' Second will be better if your SSID has a space in it for some reason. You'll also be able to grab the domain name if you want it for similar reasons.