Equivalent of ctrl c in command to cancel a program

前端 未结 6 1981
渐次进展
渐次进展 2020-12-24 00:29

I am running a long linux program in a remote machine, and I want to stop it, but my problem is that if I use the kill command then the program will exit without saving resu

6条回答
  •  温柔的废话
    2020-12-24 00:39

    ctrl c just sends a SIGINT signal, but there is some other signals that is a little more soft. http://www.gnu.org/software/libtool/manual/libc/Termination-Signals.html

    I think that you can use the the kill command to send some other signal. (see man kill for more info)

提交回复
热议问题