ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.4 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://www.veerotech.net/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/ |
| Last Crawled | 2026-03-27 10:54:29 (11 days ago) |
| First Indexed | 2020-12-19 14:37:13 (5 years ago) |
| HTTP Status Code | 200 |
| Meta Title | How to kill processes in Linux using kill, killall and pkill | Web Hosting KB |
| Meta Description | In this article, we will show you how to use kill, killall, and pkill commands to terminate a process in Linux. |
| Meta Canonical | null |
| Boilerpipe Text | In this article, we will show you how to use kill, killall, and pkill commands to terminate a process in Linux. A process is the running form of a program that is currently being executed. Programs are stored on disk and processes run in memory. Â
The main difference between these tools is that kill terminates processes based on Process ID number (PID), while the killall and pkill commands terminate running processes based on their names and other attributes.
System Kill Signals
Signals are a form of a dialogue between the processes that can come from other processes, the kernel, or the process itself. These kill, killall, and pkill commands send a given signal to the mentioned processes or process groups. If there are no signals provided, each tool sends 15 (TERM).
Few of the commons signals used are as follows.
1 (-HUP): to reload a process.
9 (-KILL): to kill a process.
15 (-TERM): to gracefully stop a process.
Signals can be specified in three different ways
using a number (e.g., -1)
with the “SIG” prefix (e.g., -SIGHUP
without the “SIG” prefix (e.g., -HUP).
Let us review those 3 ways to kill a process using commands.
Steps are as follows:
1.
Kill Command
– Kill the process by specifying its PID
The common syntax for kill command is:
# kill [signal or option] PID(s)
However, to terminate a process with the kill command first, you need to find the process PID. The simplest way to find this is either using commands like top, ps, pgrep or pidof.
Example on how to find a PID of a process using pidof command.
Let’s assume that we need to kill the firefox process running on a Linux system.
pidof firefox
This command will print all the firefox process PIDs.
Output:
2550 2410 1260 1850 1770
The kill command you will need to execute the next would be as follows.
kill -9 2550 2410 1260 1850 1770
2.
killall Command
– kill the processes by name. By default, it will send a TERM signal. The killall command can kill multiple processes with a single command. If more than one process runs with that name, all of them will be killed.
# killall [process]
Example: Kill all the firefox processes
killall -9 firefox
3.
Pkill Command
– Send signal to the process based on its name. You can send signal to any process by specifying the full name or partial name. So there is no need for you to find out the PID of the process to send the signal.
pkill [options] pattern
Simply, type pkill with the process name that you want to kill as input. You must be aware of the process name before killing and entering a wrong process name may screw you.
Example: Kill all the MySQL processes
pkill mysqld
Conclusion
Congratulations, you have learned how to use kill, killall and pkill commands on a Linux system to kill processes
If you have any web hosting questions please feel free to
reach out to us.
We're happy to help.
Our Guiding Principles |
| Markdown | - [Blog](https://www.veerotech.net/blog)
- [Knowledge Base](https://www.veerotech.net/kb)
- [Monthly Raffle](https://www.veerotech.net/monthly-raffle)
- [Offers](https://www.veerotech.net/offers.php)
- [Affiliate Program](https://www.veerotech.net/affiliates)
- [Login/Support](https://manage.veerotech.net/)
- [Cart](https://manage.veerotech.net/cart.php?a=view)
- [Live Chat]()
[](https://www.veerotech.net/)
- [Shared Hosting](https://www.veerotech.net/shared-hosting)
- [Managed WordPress](https://www.veerotech.net/managed-wordpress-hosting)
- [Reseller & Agency](https://www.veerotech.net/reseller-hosting)
- [VPS](https://www.veerotech.net/managed-vps)
- [Semi Dedicated](https://www.veerotech.net/semi-dedicated-hosting)
- [Contact](https://www.veerotech.net/contact-us)
## Knowledgebase
[Home](https://www.veerotech.net/) / [Knowledgebase Home](https://www.veerotech.net/kb/) / How to kill processes in Linux using kill, killall and pkill
// [View Comments](https://www.veerotech.net/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/#comments) //
# How to kill processes in Linux using kill, killall and pkill
In this article, we will show you how to use kill, killall, and pkill commands to terminate a process in Linux. A process is the running form of a program that is currently being executed. Programs are stored on disk and processes run in memory.
The main difference between these tools is that kill terminates processes based on Process ID number (PID), while the killall and pkill commands terminate running processes based on their names and other attributes.
**Contents** [hide](https://www.veerotech.net/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/)
[1 System Kill Signals](https://www.veerotech.net/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/#System_Kill_Signals)
[2 Steps are as follows:](https://www.veerotech.net/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/#Steps_are_as_follows)
## **System Kill Signals**
Signals are a form of a dialogue between the processes that can come from other processes, the kernel, or the process itself. These kill, killall, and pkill commands send a given signal to the mentioned processes or process groups. If there are no signals provided, each tool sends 15 (TERM).
Few of the commons signals used are as follows.
- 1 (-HUP): to reload a process.
- 9 (-KILL): to kill a process.
- 15 (-TERM): to gracefully stop a process.
Signals can be specified in three different ways
- using a number (e.g., -1)
- with the “SIG” prefix (e.g., -SIGHUP
- without the “SIG” prefix (e.g., -HUP).
Let us review those 3 ways to kill a process using commands.
## **Steps are as follows:**
1\. **Kill Command** – Kill the process by specifying its PID
The common syntax for kill command is:
*\# kill \[signal or option\] PID(s)*
However, to terminate a process with the kill command first, you need to find the process PID. The simplest way to find this is either using commands like top, ps, pgrep or pidof.
*Example on how to find a PID of a process using pidof command.*
Let’s assume that we need to kill the firefox process running on a Linux system.
```
pidof firefox
```
This command will print all the firefox process PIDs.
Output:
```
2550 2410 1260 1850 1770
```
The kill command you will need to execute the next would be as follows.
```
kill -9 2550 2410 1260 1850 1770
```
2\. **killall Command** – kill the processes by name. By default, it will send a TERM signal. The killall command can kill multiple processes with a single command. If more than one process runs with that name, all of them will be killed.
*\# killall \[process\]*
Example: Kill all the firefox processes
```
killall -9 firefox
```
3\. **Pkill Command** – Send signal to the process based on its name. You can send signal to any process by specifying the full name or partial name. So there is no need for you to find out the PID of the process to send the signal.
```
pkill [options] pattern
```
Simply, type pkill with the process name that you want to kill as input. You must be aware of the process name before killing and entering a wrong process name may screw you.
Example: Kill all the MySQL processes
```
pkill mysqld
```
**Conclusion**
Congratulations, you have learned how to use kill, killall and pkill commands on a Linux system to kill processes
***
If you have any web hosting questions please feel free to [**reach out to us.**](https://manage.veerotech.net/submitticket.php?step=2&deptid=2) We're happy to help.
[Shared Hosting](https://www.veerotech.net/shared-hosting/?mtm_campaign=Blog&mtm_kwd=footer-shared) \| [Reseller Hosting](https://www.veerotech.net/reseller-hosting?mtm_campaign=Blog&mtm_kwd=footer-reseller) \| [Managed WordPress Hosting](https://www.veerotech.net/managed-wordpress-hosting/?mtm_campaign=Blog&mtm_kwd=footer-mwp) \| [Fully Managed VPS Hosting](https://www.veerotech.net/managed-vps/?mtm_campaign=Blog&mtm_kwd=footer-mvps)
**Our Guiding Principles**
- Provide consistent, stable, and reliable web hosting services.
- Ensure rapid ticket response and quick resolutions to issues.
- Never saturate or over-provision servers to ensure stability and speed for our customers.
- Use only high-quality enterprise-class hardware to ensure minimal downtime from hardware failures.
- Provide clear pricing with no hidden fees or gotchas.
Subscribe to comment notifications
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
[](https://www.veerotech.net/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/#comments)
### Related Articles
- [Hosting account email limits](https://www.veerotech.net/kb/hosting-account-email-limits/)
- [WordPress Themes & Plugins: Bloat & what is too many](https://www.veerotech.net/kb/wordpress-themes-plugins-bloat-what-is-too-many/)
- [How to Connect to MySQL Using PHP](https://www.veerotech.net/kb/how-to-connect-to-mysql-using-php/)
- [403 Forbidden Error \| You Do Not Have Permission to Access This Resource](https://www.veerotech.net/kb/403-forbidden-error-what-to-do-if-you-see-this-error/)
- [How to change nameservers at Google Domains](https://www.veerotech.net/kb/how-to-change-nameservers-at-google-domains/)
- [Shared Server SSL Certificate](https://www.veerotech.net/kb/shared-server-ssl-certificate/)
- [How to Install WordPress Using Softaculous in cPanel](https://www.veerotech.net/kb/install-wordpress-using-softaculous-cpanel/)
- [How to Fix a 500 Internal Server Error from .htaccess in cPanel](https://www.veerotech.net/kb/how-to-fix-500-internal-server-error/)
- [Developer’s Edge: WordPress 6.9’s New APIs and Building High-Performance Blocks on VeeroTech](https://www.veerotech.net/kb/developers-edge-wordpress-6-9-new-apis-performance-blocks/)
- [Unleashing Speed: How WordPress 6.9’s Performance Boost Transforms Your Site](https://www.veerotech.net/kb/how-wordpress-6-9-boosts-performance/)
- [How to Fix Cloudflare Error 520, 521, 522, and Other 5xx Errors](https://www.veerotech.net/kb/how-to-fix-cloudflare-error-520-521-522-and-other-5xx-errors/)
- [How to Fix Email Not Sending from Your Website Error](https://www.veerotech.net/kb/how-to-fix-email-not-sending-from-your-website-error/)
- [How to Fix ERR\_SSL\_PROTOCOL\_ERROR in Chrome](https://www.veerotech.net/kb/how-to-fix-err-ssl-protocol-error/)
- [Developer’s Edge: WordPress 6.9’s New APIs and Building High-Performance Blocks on VeeroTech](https://www.veerotech.net/kb/developers-edge-wordpress-6-9-new-apis-performance-blocks/)
Introduction The constant challenge for WordPress developers has always been balancing feature richness with raw performance. For years, building complex, dynamic interfaces meant accepting heavy custom JavaScript payloads—often at the expense of Lighthouse scores and real-world load times. WordPress 6.9 represents a meaningful shift away from that trade-off. WordPress 6.9 builds on the Interactivity API
[Continue reading...](https://www.veerotech.net/kb/developers-edge-wordpress-6-9-new-apis-performance-blocks/)
- [Unleashing Speed: How WordPress 6.9’s Performance Boost Transforms Your Site](https://www.veerotech.net/kb/how-wordpress-6-9-boosts-performance/)
Introduction WordPress 6.9 (December 2025) introduces targeted frontend optimizations and backend efficiency improvements designed to reduce render-blocking work and lower resource usage. For site owners, this translates into faster perceived load times, improved Core Web Vitals—especially Interaction to Next Paint (INP)—and lighter backend workloads. When paired with a high-performance hosting environment like VeeroTech, which leverages
[Continue reading...](https://www.veerotech.net/kb/how-wordpress-6-9-boosts-performance/)
- [How to Fix Cloudflare Error 520, 521, 522, and Other 5xx Errors](https://www.veerotech.net/kb/how-to-fix-cloudflare-error-520-521-522-and-other-5xx-errors/)
Cloudflare is a powerful content delivery network (CDN) that helps improve website speed and security. However, sometimes users encounter frustrating error messages like 520, 521, 522, and other 5xx errors. These errors indicate communication issues between Cloudflare and your origin web server, preventing your site from loading properly. At VeeroTech, we understand how critical website
[Continue reading...](https://www.veerotech.net/kb/how-to-fix-cloudflare-error-520-521-522-and-other-5xx-errors/)
- [How to Fix Email Not Sending from Your Website Error](https://www.veerotech.net/kb/how-to-fix-email-not-sending-from-your-website-error/)
Email delivery problems can disrupt website notifications, contact forms, and business communication. At VeeroTech, we know how critical reliable email is to your website. Here’s a step-by-step guide to solve the most common issues with emails not sending from your website on cPanel hosting. This guide covers the top causes of outgoing email issues and
[Continue reading...](https://www.veerotech.net/kb/how-to-fix-email-not-sending-from-your-website-error/)
- [How to Fix ERR\_SSL\_PROTOCOL\_ERROR in Chrome](https://www.veerotech.net/kb/how-to-fix-err-ssl-protocol-error/)
Introduction The “ERR\_SSL\_PROTOCOL\_ERROR” in Chrome indicates a failure to establish a secure SSL/TLS connection to a website, preventing access. This error, which appears in the Google Chrome browser, can stem from client-side browser settings or server-side SSL/TLS misconfigurations. This detailed guide provides step-by-step solutions using browser tools, hosting control panels, or server settings to fix
[Continue reading...](https://www.veerotech.net/kb/how-to-fix-err-ssl-protocol-error/)
wpDiscuz
Insert
#### Web Hosting
- [Shared Hosting](https://www.veerotech.net/ssd-web-hosting)
- [Reseller & Agency](https://www.veerotech.net/reseller-hosting)
- [Semi Dedicated Hosting](https://www.veerotech.net/semi-dedicated-hosting)
- [Managed KVM VPS](https://www.veerotech.net/ssd-managed-vps)
- [Self Managed VPS](https://www.veerotech.net/self-managed-ssd-vps)
- [FTP, SSH & Storage](https://www.veerotech.net/storage)
#### Application Hosting
- [Managed WordPress Hosting](https://www.veerotech.net/managed-wordpress-hosting)
- [WordPress Hosting](https://www.veerotech.net/wordpress-website-hosting)
- [Joomla Hosting](https://www.veerotech.net/joomla-website-hosting)
- [Drupal Hosting](https://www.veerotech.net/drupal-website-hosting)
- [Grav CMS Hosting](https://www.veerotech.net/grav-cms-hosting)
- [Drag & Drop Website Builder](https://www.veerotech.net/website-builder)
- [ownCloud Hosting](https://www.veerotech.net/owncloud-hosting)
- [NextCloud Hosting](https://www.veerotech.net/nextcloud-hosting)
#### Addons & Domains
- [All Hosting Addons](https://www.veerotech.net/hosting-extras)
- [Domain Names](https://www.veerotech.net/domains)
- [Website Builder](https://www.veerotech.net/website-builder)
- [WHMCS Reseller Hosting](https://www.veerotech.net/web-hosting-reseller-billing-software)
- [SSL Certificates](https://www.veerotech.net/hosting-extras#ssl-certificates)
- [Application Installer](https://www.veerotech.net/softaculous-auto-installer)
- [Website Design & Development](https://www.veerotech.net/websites)
#### Company & Legal
- [Contact](https://www.veerotech.net/contact-us)
- [About](https://www.veerotech.net/aboutus)
- [Data Centers](https://www.veerotech.net/datacenters)
- [Terms Of Service](https://www.veerotech.net/policy/)
- [Support Scope](https://www.veerotech.net/policy/service-support-scope/)
- [Privacy Policy](https://www.veerotech.net/policy/privacy-policy/)
- [Web Hosting Blog](https://www.veerotech.net/blog/)
- [Affiliate Program](https://www.veerotech.net/affiliates)
- [Knowledge Base](https://www.veerotech.net/kb/)
[](https://www.veerotech.net/)
- 
- 
© Copyright 2026 VeeroTech Systems, LLC \| All Rights Reserved |
| Readable Markdown | In this article, we will show you how to use kill, killall, and pkill commands to terminate a process in Linux. A process is the running form of a program that is currently being executed. Programs are stored on disk and processes run in memory.
The main difference between these tools is that kill terminates processes based on Process ID number (PID), while the killall and pkill commands terminate running processes based on their names and other attributes.
## **System Kill Signals**
Signals are a form of a dialogue between the processes that can come from other processes, the kernel, or the process itself. These kill, killall, and pkill commands send a given signal to the mentioned processes or process groups. If there are no signals provided, each tool sends 15 (TERM).
Few of the commons signals used are as follows.
- 1 (-HUP): to reload a process.
- 9 (-KILL): to kill a process.
- 15 (-TERM): to gracefully stop a process.
Signals can be specified in three different ways
- using a number (e.g., -1)
- with the “SIG” prefix (e.g., -SIGHUP
- without the “SIG” prefix (e.g., -HUP).
Let us review those 3 ways to kill a process using commands.
## **Steps are as follows:**
1\. **Kill Command** – Kill the process by specifying its PID
The common syntax for kill command is:
*\# kill \[signal or option\] PID(s)*
However, to terminate a process with the kill command first, you need to find the process PID. The simplest way to find this is either using commands like top, ps, pgrep or pidof.
*Example on how to find a PID of a process using pidof command.*
Let’s assume that we need to kill the firefox process running on a Linux system.
```
pidof firefox
```
This command will print all the firefox process PIDs.
Output:
```
2550 2410 1260 1850 1770
```
The kill command you will need to execute the next would be as follows.
```
kill -9 2550 2410 1260 1850 1770
```
2\. **killall Command** – kill the processes by name. By default, it will send a TERM signal. The killall command can kill multiple processes with a single command. If more than one process runs with that name, all of them will be killed.
*\# killall \[process\]*
Example: Kill all the firefox processes
```
killall -9 firefox
```
3\. **Pkill Command** – Send signal to the process based on its name. You can send signal to any process by specifying the full name or partial name. So there is no need for you to find out the PID of the process to send the signal.
```
pkill [options] pattern
```
Simply, type pkill with the process name that you want to kill as input. You must be aware of the process name before killing and entering a wrong process name may screw you.
Example: Kill all the MySQL processes
```
pkill mysqld
```
**Conclusion**
Congratulations, you have learned how to use kill, killall and pkill commands on a Linux system to kill processes
***
If you have any web hosting questions please feel free to [**reach out to us.**](https://manage.veerotech.net/submitticket.php?step=2&deptid=2) We're happy to help.
**Our Guiding Principles** |
| Shard | 86 (laksa) |
| Root Hash | 7951647406215790886 |
| Unparsed URL | net,veerotech!www,/kb/how-to-kill-processes-in-linux-using-kill-killall-and-pkill/ s443 |