ubuntu kill process by name
# killall process name: pkill firefox To kill all the processes that you have the permission to kill, simply run the command kill -15 -1 or kill -9 -1 depending on the desired behavior (use man kill for details) To kill a specific process, say, firefox, simply run pkill firefox or killall firefox depending on the behavior you want: Whats the difference between 'killall' and 'pkill'? ''' Pkill and killall both have distinguishing options. Killall has a flag to match by process age, pkill has a flag to only kill processes on a given tty. Etcetera ad nauseum. Neither is better, they just have different specialties. If you want to see what processes are running use the command '''