List processes to find a certain PID:
copy this code
Kill a process by its PID with kill:
copy this code
Kill all processes by a name with killall:
copy this code
Kill all processes by a name with pkill:
copy this code
Kill all processes or a certain process for the specified user:
copy this code
Kill all processes with a wildcard:
copy this code