Last active
December 6, 2024 05:48
-
-
Save Ian729/131569b842ecb2f53d110fe4dc0e8894 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ "$1" = "" ] && echo "wifi version | wifi join [ssid] [password] | wifi get"; | |
[ "$1" = "version" ] && echo "wifi v1.0 by Ian"; | |
[ "$1" = "join" ] && networksetup -setairportnetwork en0 $2 $3; | |
[ "$1" = "get" ] && networksetup -getairportnetwork en0; |
Author
Ian729
commented
Dec 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment