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: What's the difference between 'killall' and 'pkill'?

If you want to see what processes are running use the command

ps -ef

If you want to look up all processes by user bob, this might help

pgrep -l -u bob

or

ps -ef | grep bob
Answer from ste_kwr on askubuntu.com
๐ŸŒ
Linux Foundation
linuxfoundation.org โ€บ blog โ€บ blog โ€บ classic-sysadmin-how-to-kill-a-process-from-the-command-line
Classic SysAdmin: How to Kill a Process from the Linux Command Line - Linux Foundation
September 13, 2022 - The steps Iโ€™m going to outline will work on almost every Linux distribution, whether it is a desktop or a server. I will be dealing strictly with the command line, so open up your terminal and prepare to type. The first step in killing the unresponsive process is locating it.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ linux-unix โ€บ kill-command-in-linux-with-examples
kill Command in Linux - GeeksforGeeks
May 14, 2026 - The kill command sends signals to processes using their Process ID (PID). Located in /bin/kill , itโ€™s a built-in Linux command.
Discussions

Best way to effectively kill a process?
There are only two signals (what you called "sub-command" in the comments) that can't be trapped (i.e. ignored by a process) -- SIGSTOP and SIGKILL, generally SIGKILL is used to kill an unresponsive process, e.g kill -9 ${process_pid} or kill -s KILL ${process_pid}. p.s. if you don't specify a signal, by default kill sends the SIGTERM signal, which can be ignored by a process. More on reddit.com
๐ŸŒ r/linux
66
34
January 16, 2024
bash - How to kill a process by its pid on Linux? - Stack Overflow
I'm new to Linux and I'm building a program that receives the name of a process, gets its PID (I have no problem with that part) and then passes the PID to the kill command, but its not working. It... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Linux Mint - How do I force quit apps and programs when frozen?
Iโ€™ve had luck using ctrl+alt+t and using htop to kill the process, but I havenโ€™t had to switch to a tty yet- I imagine that the process would be identical- tho I would reboot the machine from tty first.. More on reddit.com
๐ŸŒ r/linux4noobs
24
12
June 11, 2023
Is there something like Task Manager for Mint?
install htop, its shell like interface but its manageable. ctrl alt backspace will log you off. More on reddit.com
๐ŸŒ r/linuxmint
22
16
January 13, 2015
๐ŸŒ
ManageEngine
manageengine.com โ€บ home โ€บ logging guide โ€บ linux kill process
How to kill a process in Linux
May 26, 2025 - This is the preferred method for terminating processes. The "kill" command also allows you to specify other signals as well. The "Kill - l" command in the Linux terminal helps you view the complete list of all signals.
๐ŸŒ
Built In
builtin.com โ€บ articles โ€บ kill-process-linux
How to Kill a Process in Linux: Best Commands to Use | Built In
The primary commands used to terminate ... use cases and preferences. Depending on your distribution, you can also use systemctl or killproc to terminate a process....
๐ŸŒ
Contabo
contabo.com โ€บ home โ€บ kill processes in linux โ€“ sysadminโ€™s guide
Kill Processes in Linux - SysAdmin's Guide | Contabo Blog
January 26, 2026 - Master Linux process management. Learn to find PIDs and use kill, pkill, and killall commands with SIGTERM or SIGKILL to safely terminate unresponsive tasks.
๐ŸŒ
nixCraft
cyberciti.biz โ€บ nixcraft โ€บ howto โ€บ linux โ€บ how to list and kill a process in linux
How To Kill Process in Linux & Terminate a Process in UNIX - nixCraft
May 6, 2026 - It is the default and safest way to kill process. The kill and killall command support more than 60 signals. However, most users only need to use signal 9 or 15. To get a full list of signals, type the following kill command with -l: $ kill -l Here is what I see: First, try to send SIGTERM (15) and if that failed then only try the SIGKILL (9) signal. A Linux or Unix process is running instance of a program.
Find elsewhere
๐ŸŒ
PhoenixNAP
phoenixnap.com โ€บ home โ€บ kb โ€บ sysadmin โ€บ how to kill a process in linux from command line?
How to Kill a Process in Linux from Command Line?
April 28, 2025 - Learn to find processes and kill processes in Linux ones using the kill, pkill, xkill, top, and killall commands.
๐ŸŒ
Kamatera
kamatera.com โ€บ home โ€บ knowledgebase โ€บ how to kill a process in linux
How to Kill a Process in Linux | Kamatera
October 17, 2025 - ... This displays a live list of running processes. Press k to initiate a process kill and enter the PID (Process ID) of the process you want to terminate as shown in the screen below.
๐ŸŒ
StrongDM
strongdm.com โ€บ blog โ€บ security
How to Kill a Process in Linux: Commands and Best Practices
January 3, 2025 - Here are example scripts to kill a process is #!/bin/bash and pkill -f process_name which use pkill command for killing processes based on a name. The shebang line that is required for all bash scripts is pkill -f process_name.
๐ŸŒ
Unstop
unstop.com โ€บ home โ€บ blog โ€บ how to kill process in linux | kill commands, options & more
How To Kill Process In Linux | Kill Commands, Options & More
November 2, 2024 - This PID helps track the program's execution and process activity as well as terminate the process when needed. The kill process command sends a signal to the operating system, which then stops the program associated with the specified PID.
๐ŸŒ
RunCloud
runcloud.io โ€บ blog โ€บ how-to-kill-process-in-linux
How to Kill a Process in Linux From the Command Line
October 20, 2025 - This command brings job ID 1 back to the foreground and makes it the active process in your terminal. bg (Background): If youโ€™ve stopped a foreground process (using Ctrl+Z), you can send it to the background to continue running with bg. ... There are several ways to kill a process in Linux, but the first step is always to identify the process you want to kill.
๐ŸŒ
Hostinger
hostinger.com โ€บ home โ€บ tutorials โ€บ how to kill a process in linux from the command line
How to kill a process in Linux from the command line
May 9, 2025 - To kill a process in Linux, you can use the kill command with the PID of the process you want to terminate. Learn more in this article.
๐ŸŒ
TecMint
tecmint.com โ€บ home โ€บ linux commands โ€บ how to kill a process in linux from command line
How to Kill Linux Process Using Kill, Pkill, and Killall
December 14, 2023 - To stop a process running in the background. Using the kill command from /usr/bin provides you with some extra features to kill a process by process name using pkill, which identifies processes by their names.
๐ŸŒ
Linux Handbook
linuxhandbook.com โ€บ kill-process
Kill a Process in Linux Using kill, pkill & killall Commands
June 14, 2024 - Both kill and killall commands are used for force stopping (killing) processes in Linux.
๐ŸŒ
nixCraft
cyberciti.biz โ€บ nixcraft โ€บ howto โ€บ linux โ€บ how to force kill process in linux using kill and killall
How to force kill process in Linux using kill and killall - nixCraft
April 24, 2024 - I am a new Linux system administrator. How can I force kill process in Linux? You need to use the kill command or killall command on Linux operating systems to terminate processes without having to log out or restart the server.
๐ŸŒ
DataCenterKnowledge
datacenterknowledge.com โ€บ home โ€บ data center software
Quick Guide: Kill Processes With Linux Command in Seconds
July 9, 2024 - The shell โ€“ Linux distros support several, including Ash, Bourne, Debian Almquist, Bash and others โ€“ parses the command, locates the kill program, and executes it along with any options you may specify. Upfront consideration is required in using a Linux kill process.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ kill-command-in-linux-with-examples
How to Kill a Process in Linux | Kill Command - GeeksforGeeks
April 26, 2024 - Usually, this command shows the ... as you will run this command it ... kill command in Linux (located in /bin/kill), is a built-in command which is used to terminate processes manually....