terminal.cab

All commands

kill

Topic: Processes

Shell builtin: kill

Sends a signal to a process, usually to end it.

Package: prozesse

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
  • -s needs a value not in the simulator yet

    Explanation to come

  • -n needs a value not in the simulator yet

    Explanation to come

  • -l not in the simulator yet

    Explanation to come

  • -L not in the simulator yet

    Explanation to come

Program: kill

Sends a signal to a process (the program, not the builtin).

Package: prozesse

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
  • -s, --signal needs a value not in the simulator yet

    Explanation to come

  • -q, --queue needs a value not in the simulator yet

    On a real system it sends a value along with the signal; the simulator does not.

  • -l, --list value optional not in the simulator yet

    Explanation to come

  • -L, --table not in the simulator yet

    Explanation to come

  • -V, --version not in the simulator yet

    Explanation to come

Examples

From the lesson Finding and ending processes
kill 3021
pgrep -a python3
2114 python3 app.py
4711 python3 export.py

Try it in the terminal

Where you learn it

Lessons

All commands