The killall command is used to send a signal to one or more processes on matching one of the following conditions:
- Command: Match exact process name
- Owner: Match exact name of the owner of the process
- All system: System-wide processes
Its syntax is as follows:
$ killall <process_name>
$ killall -<signal> <process_name>
$ killall -<signal> -u <username> <process_name>