network

scutil

Display basic network information, check the dns config, set the computer hostname and …

dns-sd

Discover local network services using the DNS-Based Service Discovery (SD) protocol.

last

Show last user logins and TTYs.

dscl

Interact with Directory Services.

networksetup

Configure network settings in System Preferences.