1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [kill](<https://delaparra-services.nl/knowledge-hub/kill>)

  

Category: CLI commands 

# kill

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is kill?

 

kill: Kill — Send a signal to a process, usually to terminate it. ` kill ` sends a signal to a process, identified by its process ID. Despite the name, the default signal, ` SIGTERM `, politely asks the process to stop, giving it time to clean up. ` kill -9 `, which sends ` SIGKILL `, ends the process immediately. It cannot be caught or ignored, so the process has no chance to finish writing files or close connections. Use it only when a normal ` kill ` does not work.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about kill

  

### What should you keep in mind with kill?

 

Find the process ID with ` ps aux | grep name ` or ` pgrep name `; ` pkill name ` kills by name directly. Other signals are useful too. ` SIGHUP ` makes many servers reload their configuration without stopping. In containers and Kubernetes, ` SIGTERM ` is what your application receives on shutdown, so handling it gracefully avoids lost requests during deploys.

 

## At a glance

   CategoryCLI commands Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More CLI commands terms

 

- [export](<https://delaparra-services.nl/knowledge-hub/export>) 
- [grep](<https://delaparra-services.nl/knowledge-hub/grep>) 
- [head](<https://delaparra-services.nl/knowledge-hub/head>) 
- [less](<https://delaparra-services.nl/knowledge-hub/less>) 
- [ls](<https://delaparra-services.nl/knowledge-hub/ls>) 
- [man](<https://delaparra-services.nl/knowledge-hub/man>)

 

[All terms starting with K](<https://delaparra-services.nl/knowledge-hub#letter-k>)

 

## Skills

 

- ### CLI flag safety

 

Use before running or suggesting shell commands with flags, especially destructive or broad ones (-f/--force, -r/-R recursive, -a/--all, -y/--yes, prune, --hard), and when a user asks what a flag means (-v, -q, -n/--dry-run, -h, -o, -p, -t, -u, -w, -x, -c, -i). Explains flags per tool and prefers dry runs and narrow scopes.

 [View skill](<https://delaparra-services.nl/skills/cli-flag-safety>) [Download zip](<https://delaparra-services.nl/skills/cli-flag-safety/download>) 
- ### Bash Defensive Patterns

 

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.

 [View skill](<https://delaparra-services.nl/skills/bash-defensive-patterns>) [Download zip](<https://delaparra-services.nl/skills/bash-defensive-patterns/download>) 
- ### Docker Destructive Command Guardrails

 

Use this skill before running, or recommending, any Docker command that deletes, wipes, resets, or otherwise irreversibly changes state — even if the user just says to "clean up", "clear the cache", "start fresh", "wipe everything", "nuke it", "reset", "force remove", or "tear down" Docker resources. Covers generic Docker CLI destructive operations not owned by a more specific skill — \`docker rm\`,

 [View skill](<https://delaparra-services.nl/skills/docker-destructive-guardrails>) [Download zip](<https://delaparra-services.nl/skills/docker-destructive-guardrails/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/kill/skills.zip>)

 

## Manuals

 

- [The terminal commands you actually need](<https://delaparra-services.nl/manuals/terminalcommandos-die-je-nodig-hebt>) 
- [The terminal and PowerShell](<https://delaparra-services.nl/manuals/de-terminal-en-powershell>)

 

## Related services

 

- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)

If you want to use a coding agent, we provide all the infrastructure to help it work efficiently.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/kill)
