mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* Add Chinese translations for glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen. * Improvement to the Chinese translation for screen. * Fix formatting issues in glances, pm2, and neofetch Chinese versions * Update nano and screen Chinese pages to match English page. * Update pages.zh/common/screen.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages.zh/common/nano.md Ensure the format is the same as the English version Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * glances, nano: Ensure Chinese version matches English format * nano: Chinese translation correction * nano: Second revision of Chinese translation, fixing all missing backticks. * nano: Handle missing quotation marks in Chinese translation * Update pages.zh/common/neofetch.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages.zh/common/ifconfig.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages.zh/common/glances.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages.zh/common/glances.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update neofetch.md * Update neofetch.md --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
24 lines
468 B
Markdown
24 lines
468 B
Markdown
# ifconfig
|
|
|
|
> 网络接口配置工具。
|
|
> 更多信息:<https://net-tools.sourceforge.io/man/ifconfig.8.html>.
|
|
|
|
- 查看某个网络接口的网络设置:
|
|
|
|
`ifconfig {{接口名称}}`
|
|
|
|
- 显示所有接口的详细信息,包括已禁用的接口:
|
|
|
|
`ifconfig -a`
|
|
|
|
- 禁用一个接口:
|
|
|
|
`ifconfig {{接口名称}} down`
|
|
|
|
- 启用一个接口:
|
|
|
|
`ifconfig {{接口名称}} up`
|
|
|
|
- 为一个接口分配 IP 地址:
|
|
|
|
`ifconfig {{接口名称}} {{IP地址}}`
|