1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 20:02:09 +02:00
tldr/pages/osx/scutil.md
Vítor Henrique 5edbf734fb
pages*: improve page descriptions (#12558)
* pages*: improve page descriptions

* ical: improve page description

* cockpit-desktop: remove unneeded word from page description

* nc: improve description wording

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-04-25 19:58:21 -03:00

29 lines
501 B
Markdown

# scutil
> Manage system configuration parameters.
> Require root privileges 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}}`