How to Kill Processes on Linux and macOS
List processes to find a certain PID:
Kill a process by its PID with kill:
Kill all processes by a name with killall:
Kill all processes by a name with pkill:
Kill all processes or a certain process for the specified user:
Kill all processes with a wildcard: