Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
# networksetup
|
||||
|
||||
> Configuration tool for Network System Preferences
|
||||
> Configuration tool for Network System Preferences.
|
||||
|
||||
- List available network service providers (Ethernet, Wi-Fi, Bluetooth, etc)
|
||||
- List available network service providers (Ethernet, Wi-Fi, Bluetooth, etc):
|
||||
|
||||
`networksetup -listallnetworkservices`
|
||||
|
||||
- Show network settings for a particular networking device
|
||||
- Show network settings for a particular networking device:
|
||||
|
||||
`networksetup -getinfo {{"Wi-Fi"}}`
|
||||
|
||||
- Get currently connected Wi-Fi network name (Wi-Fi device usually en0 or en1)
|
||||
- Get currently connected Wi-Fi network name (Wi-Fi device usually en0 or en1):
|
||||
|
||||
`networksetup -getairportnetwork {{en0}}`
|
||||
|
||||
- Connect to a particular Wi-Fi network
|
||||
- Connect to a particular Wi-Fi network:
|
||||
|
||||
`networksetup -setairportnetwork {{en0}} {{"Airport Network SSID"}} {{password}}`
|
||||
|
Reference in New Issue
Block a user