mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
29 lines
424 B
Markdown
29 lines
424 B
Markdown
# 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}}`
|