kill
Shell builtin: kill
Sends a signal to a process, usually to end it.
Usage
kill [-s NAME | -n NUMBER | -SIGNAL] PID... | -l [SIGNAL]
Description
Send a signal (TERM if none is given) to each PID. With -l, list the names of the signals, or convert one number or name.
Options in the simulator
No options.
4 more options of the real program, not in the simulator yet
Program: kill
Sends a signal to a process (the program, not the builtin).
Usage
kill [options] <pid> [...]
Description
Send a signal (TERM if none is given) to each PID; the program from procps, which sudo can start as root.
Options in the simulator
5 more options of the real program, not in the simulator yet
Examples
kill 3021
pgrep -a python3
2114 python3 app.py
4711 python3 export.py Where you learn it
Lessons
- Finding and ending processes Linux Basics, Module 6: Processes