Skip to content

Instantly share code, notes, and snippets.

@bartvanraalte
Last active January 8, 2019 08:46
Show Gist options
  • Save bartvanraalte/6d1f3fae9c974a811f99cc2bc3b8395d to your computer and use it in GitHub Desktop.
Save bartvanraalte/6d1f3fae9c974a811f99cc2bc3b8395d to your computer and use it in GitHub Desktop.
Simple script to print wireless networks in range in the command line
#!/bin/bash
# Perform a wireless broadcast scan and print networks in range
# curl -s https://gist.githubusercontent.com/bartvanraalte/6d1f3fae9c974a811f99cc2bc3b8395d/raw/d3f0dc8b54d2863b4b8a40c1905a59c2bf54c22c/macos_wifi_scan.sh | bash
/System/Library/PrivateFrameworks/Apple*.framework/Versions/Current/Resources/airport -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment