1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/osx/scutil.md
2021-11-14 20:45:59 +01:00

29 lines
480 B
Markdown

# scutil
> Manage system configuration parameters.
> Necessitates to be root when setting configuration.
> More information: <https://ss64.com/osx/scutil.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}}`