三种方式:

kill pid

kill – Kill a process by ID

killall name

killall – Kill a process by name

kill signal pid

kill的不同方法,比如 hangup,直接kill等。
Linux kill指令
you can send the HUP (hang up) signal to the kill command, which will effectively restart the process.


参考:
How To Kill A Process From The Command Line;

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-09-16
  • 2022-12-23
猜你喜欢
  • 2021-10-17
  • 2022-12-23
  • 2021-08-13
  • 2021-06-24
  • 2021-08-05
  • 2021-07-03
相关资源
相似解决方案