The Computer Oracle

How to stop a process in Terminal

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Luau

--

Chapters
00:00 Question
00:32 Accepted answer (Score 126)
00:49 Answer 2 (Score 43)
01:26 Thank you

--

Full question
https://superuser.com/questions/103909/h...

Question links:
[Ending a process in unix instead of interrupting it]: https://superuser.com/questions/97261/en...

Answer 1 links:
[this answer]: https://unix.stackexchange.com/a/266388/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #terminal #process #kill

#avk47



ACCEPTED ANSWER

Score 132


Ctrl + C

Ctrl + C is a the standard *nix way of signaling a process to abort.




ANSWER 2

Score 48


Try Ctrl + C. Also, Ctrl + Z might help if you want to suspend a process.

For further information, man kill.

If you're curious about the difference between suspend and terminate, this answer is a good starting point; the TL;DR version is, a suspended process can be resumed later and its execution can continue. A terminated (and killed) process will be gone.