Command
pkill
Explanation
pkill is used to kill the processes by name. It kills the processes by name.
Examples
Kill all nginx processes
pkill nginx
pkill
pkill is used to kill the processes by name. It kills the processes by name.
Kill all nginx processes
pkill nginx