tldr/pages/osx/scutil.md

30 lines
501 B
Markdown

# scutil
> Manage system configuration parameters.
> Necessitates to be root when setting configuration.
> More information: <https://keith.github.io/xcode-man-pages/scutil.8.html>.
- 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}}`