How to kill a process by name in Linux?

You can use Linux pkill command to kill a process by name.

Example:

Start a new process with a custom name:

Kill a process by name in Linux:

Leave a Reply