Add Network Preferences category and entry

This commit is contained in:
Marcel Bischoff 2016-03-29 20:33:04 +02:00
parent 484e671feb
commit ef087b7625

View File

@ -57,6 +57,7 @@ For more terminal shell goodness, please also see this list's sister list [Aweso
- [DHCP](#dhcp) - [DHCP](#dhcp)
- [DNS](#dns) - [DNS](#dns)
- [Hostname](#hostname) - [Hostname](#hostname)
- [Network Preferences](#network-preferences)
- [Networking Tools](#networking-tools) - [Networking Tools](#networking-tools)
- [TCP/IP](#tcpip) - [TCP/IP](#tcpip)
- [Wi-Fi](#wi-fi) - [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" 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 ### Networking Tools
#### Ping a Host to See Whether Its Available #### Ping a Host to See Whether Its Available