tldr/pages/osx/scutil.md
2017-12-06 16:11:23 +00:00

424 B

scutil

Manage system configuration parameters. Necessitates to be root when setting configuration.

  • Display DNS Configuration:

scutil --dns

  • Display proxy configuration:

scutil --proxy

  • Get computer name:

scutil --get ComputerName

  • Set computer name:

sudo scutil --set ComputerName {{computer_name}}

  • Get hostname:

scutil --get HostName

  • Set hostname:

scutil --set HostName {{hostname}}