Files
tldr/pages.zh/common/kill.md
Jin 236cafb0e1 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 00:43:50 -08:00

1.0 KiB
Raw Blame History

kill

向进程发送信号,通常用于停止进程。 除了 SIGKILL 和 SIGSTOP所有信号都可以被进程拦截以便进行正常退出。 更多信息:https://manned.org/kill.1posix.

  • 使用默认的 SIGTERM终止信号来结束一个程序

kill {{进程ID}}

  • 列出可用的信号名称(使用时无需加 SIG 前缀):

kill -l

  • 使用 SIGHUP挂起信号终止一个程序。许多守护进程接收到此信号后会重新加载而不是终止

kill -{{1|HUP}} {{进程ID}}

  • 使用 SIGINT中断信号终止一个程序。通常由用户按下 Ctrl + C 发起:

kill -{{2|INT}} {{进程ID}}

  • 向操作系统发送信号,立即终止一个程序(程序无机会捕获信号):

kill -{{9|KILL}} {{进程ID}}

  • 向操作系统发送信号,暂停一个程序,直到收到 SIGCONT继续信号

kill -{{17|STOP}} {{进程ID}}

  • 向所有具有指定 GID组ID的进程发送 SIGUSR1 信号:

kill -{{SIGUSR1}} -{{组ID}}