How to kill processes by their name

NILIf you want to kill a process by its name instead of its PID number,

which is easier if you have to kill processes from the same binary,

here are the commands depending of your operating system:

$ killall pid_name

$ pkill pid_name

Be careful with Solaris killall. With no argument, the command will

send a signal to every active process, which is not something you

want.

$ killall pid_name

Proxy Information
Original URL
gemini://perso.pw/blog//articles/17.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
139.195746 milliseconds
Gemini-to-HTML Time
0.252374 milliseconds

This content has been proxied by September (ba2dc).