I'm currently testing a C++ program on the command line of a linux machine and unfortunately it sometimes gets into infinite loops. Is there a way that, from the command line, I can kill this program?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
migrated from stackoverflow.com Feb 19 '12 at 20:37
|
is a nice oneliner for this. |
||||
|
|
|
will give you the id of the program and then:
|
||||
|
|
|
Use the |
|||||
|