scutil: add Chinese translation

italian
wizarot 2019-03-15 11:43:28 +08:00 committed by Owen Voke
parent dbe04b2f08
commit e68aeab794
1 changed files with 28 additions and 0 deletions

28
pages.zh/osx/scutil.md Normal file
View File

@ -0,0 +1,28 @@
# scutil
> 管理系统配置参数.
> 设置配置时必须是 root 权限.
- 显示 DNS 配置:
`scutil --dns`
- 显示代理配置:
`scutil --proxy`
- 获取计算机名称:
`scutil --get ComputerName`
- 设置计算机名称:
`sudo scutil --set ComputerName {{我的计算机名}}`
- 获取主机名( HostName ):
`scutil --get HostName`
- 设置主机名:
`scutil --set HostName {{hostname}}`