Add Network Preferences category and entry
This commit is contained in:
parent
484e671feb
commit
ef087b7625
13
README.md
13
README.md
@ -57,6 +57,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso
|
||||
- [DHCP](#dhcp)
|
||||
- [DNS](#dns)
|
||||
- [Hostname](#hostname)
|
||||
- [Network Preferences](#network-preferences)
|
||||
- [Networking Tools](#networking-tools)
|
||||
- [TCP/IP](#tcpip)
|
||||
- [Wi-Fi](#wi-fi)
|
||||
@ -933,6 +934,18 @@ sudo scutil --set LocalHostName "newhostname" && \
|
||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "newhostname"
|
||||
```
|
||||
|
||||
### Network Preferences
|
||||
|
||||
#### Network Locations
|
||||
Switch between network locations created in the Network preference pane.
|
||||
```bash
|
||||
# Status
|
||||
scselect
|
||||
|
||||
# Switch Network Location
|
||||
scselect LocationNameFromStatus
|
||||
```
|
||||
|
||||
### Networking Tools
|
||||
|
||||
#### Ping a Host to See Whether It’s Available
|
||||
|
Loading…
Reference in New Issue
Block a user