Add Wireless Scan
This commit is contained in:
parent
fb6622c0ad
commit
57558bc34b
10
README.md
10
README.md
@ -346,6 +346,16 @@ traceroute github.com
|
|||||||
|
|
||||||
### Wi-Fi
|
### Wi-Fi
|
||||||
|
|
||||||
|
#### Scan Available Access Points
|
||||||
|
Create a symbolic link to the airport command for easy access:
|
||||||
|
```bash
|
||||||
|
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
|
||||||
|
```
|
||||||
|
Run a wireless scan:
|
||||||
|
```bash
|
||||||
|
airport -s
|
||||||
|
```
|
||||||
|
|
||||||
#### Show Wi-Fi Connection History
|
#### Show Wi-Fi Connection History
|
||||||
```bash
|
```bash
|
||||||
defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.preferences | grep LastConnected -A 7
|
defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.preferences | grep LastConnected -A 7
|
||||||
|
Loading…
Reference in New Issue
Block a user