SIGCONT Signal Explained (Signal 18)

What the Linux SIGCONT signal does and when it's used.

Published October 23, 2026

SIGCONT (signal 18) resumes a process that was stopped by SIGSTOP or SIGTSTP. The shell sends it when you run fg or bg.

What it does

Default action: Continue the process. It can be caught with a signal handler.

Typically sent by: kill -CONT PID, fg, bg. List all signals with kill -l.

Signal number and delivery

kill -l | grep SIGCONT
18) SIGCONT
kill -18 1234 # or kill -CONT 1234
(signal delivered to process 1234)

Practical examples

Send it from the shell

kill -18 <PID>
kill -SIGCONT <PID>
pkill -18 nginx

Handle it in a script

trap 'echo got SIGCONT; cleanup; exit' SIGCONT
while true; do sleep 1; done

Handle it in code

import signal, sys
def handler(sig, frame):
    print('received', sig)
    sys.exit(0)
signal.signal(signal.SIGCONT, handler)

Common mistakes

  • Using kill -9 before trying SIGTERM.
  • Forgetting to find the right PID (ps aux | grep, pgrep).
  • Not handling signals in long-running services.

Key takeaways

  • SIGCONT is signal 18.
  • Default: Continue the process.
  • Use kill -l to list all signals.

FAQ

What is the difference from SIGSTOP?

SIGSTOP pauses; SIGCONT resumes.

How do I list all signals?

Run kill -l.

More Linux articles