kill

Linux · Processes · available in the simulator

What it does

Send a signal to a process by PID.

Syntax

kill [-señal] pid...

Options and parameters

  • -9

    Send SIGKILL: kill the process immediately without cleanup.

    kill -9 1234
  • -15

    Send SIGTERM: the default termination signal.

  • -l

    List all available signal names.

  • -1

    Send SIGHUP: often used by services to reload their configuration.

Usage examples

  • kill 1234
  • kill -9 1234
  • kill -l
  • kill PID
  • kill -TERM PID
Practise kill

Related commands