From ef087b76256393f9930bae3149bd414412243b7e Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Tue, 29 Mar 2016 20:33:04 +0200 Subject: [PATCH] Add Network Preferences category and entry --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4d53e0c..270b71c 100644 --- a/README.md +++ b/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