scutil: add page (#1761)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
0e40d53759
commit
39c88437d0
28
pages/osx/scutil.md
Normal file
28
pages/osx/scutil.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# 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}}`
|
Reference in New Issue
Block a user