命令后加 & 符号可以让其在后台运行

如: node app.js &

想要关闭分两步:

ps aux | grep app.js  

查看app.js  所运行的进程号

Centos 关闭后台进程 .sh 等

 


kill 进程号,关闭进程

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2021-10-30
  • 2021-11-23
  • 2021-04-25
猜你喜欢
  • 2022-02-08
  • 2022-02-08
  • 2021-07-29
  • 2022-01-10
  • 2021-08-14
相关资源
相似解决方案