glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen: add Chinese translation (#14628)
* 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>
2024-11-06 03:43:50 -05:00
|
|
|
# kill
|
|
|
|
|
|
|
|
> 向进程发送信号,通常用于停止进程。
|
|
|
|
> 除了 SIGKILL 和 SIGSTOP,所有信号都可以被进程拦截,以便进行正常退出。
|
|
|
|
> 更多信息:<https://manned.org/kill.1posix>.
|
|
|
|
|
|
|
|
- 使用默认的 SIGTERM(终止)信号来结束一个程序:
|
|
|
|
|
|
|
|
`kill {{进程ID}}`
|
|
|
|
|
|
|
|
- 列出可用的信号名称(使用时无需加 `SIG` 前缀):
|
|
|
|
|
|
|
|
`kill -l`
|
|
|
|
|
|
|
|
- 使用 SIGHUP(挂起)信号终止一个程序。许多守护进程接收到此信号后会重新加载而不是终止:
|
|
|
|
|
|
|
|
`kill -{{1|HUP}} {{进程ID}}`
|
|
|
|
|
2025-03-23 01:42:58 +02:00
|
|
|
- 使用 SIGINT(中断)信号终止一个程序。通常由用户按下 `<Ctrl c>` 发起:
|
glances, ifconfig, kill, killall, nano, neofetch, pm2, and screen: add Chinese translation (#14628)
* 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>
2024-11-06 03:43:50 -05:00
|
|
|
|
|
|
|
`kill -{{2|INT}} {{进程ID}}`
|
|
|
|
|
|
|
|
- 向操作系统发送信号,立即终止一个程序(程序无机会捕获信号):
|
|
|
|
|
|
|
|
`kill -{{9|KILL}} {{进程ID}}`
|
|
|
|
|
|
|
|
- 向操作系统发送信号,暂停一个程序,直到收到 SIGCONT(继续)信号:
|
|
|
|
|
|
|
|
`kill -{{17|STOP}} {{进程ID}}`
|
|
|
|
|
|
|
|
- 向所有具有指定 GID(组ID)的进程发送 `SIGUSR1` 信号:
|
|
|
|
|
|
|
|
`kill -{{SIGUSR1}} -{{组ID}}`
|