title: Equivalent of ctrl c in command to cancel a program
body: <p>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 results. Normally what I do to finish the program is use <kbd>Ctrl</kbd>+<kbd>C</kbd> and in that case the program saves the results, but right now I am not in the machine that is running the session so I cannot press <kbd>Ctrl</kbd>+<kbd>C</kbd>.</p>
  
  <p>My question is: is there any way to do in a remote way the equivalent of <kbd>Ctrl</kbd>+<kbd>C</kbd>?</p>