mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 22:15:42 +02:00
scutil: add Chinese translation
This commit is contained in:
parent
dbe04b2f08
commit
e68aeab794
1 changed files with 28 additions and 0 deletions
28
pages.zh/osx/scutil.md
Normal file
28
pages.zh/osx/scutil.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue