network
check information
[!NOTE|label:references:]
get interface
[!NOTE|label:references:]
get default interface
list all interfaces
get ip address
get mac address
get interface information
find local device ip address
networksetup
show network information
change order of networks
list hardware
list localtion
wifi
[!NOTE|label:references:]
get wifi name
get wifi interface
get current Wifi network
connect to another
turn on/off wifi
scan available wifi network
disable ipv6
get wifi password
list connected Wifi
get password
DNS
get info
setup DNS
[!NOTE|label:references:]
firewall
show status
enable firewall
route
[!NOTE|label:references:]
route flags
U
Up—Route is valid
G
Gateway—Route is to a gateway router
H
Host name—Route is to a host rather than to a network
R
Reject—Set by ARP when an entry expires
D
Dynamic—Route added by a route redirect or RIP
M
Modified—Route modified by a route redirect
C
Cloning—A new route is cloned from this entry when it is used
L
Link—Link-level information, such as the Ethernet MAC address, is present
S
Static—Route added with the route command
check route
show all
show particular ip
add a static route item
delete a static route
vpn
[!NOTE|label:references:]
scutil
proxy setup
[!NOTE|label:references:]
Last updated
Was this helpful?