$
Learn Linux handbook
en
XP:0
Quest 63Terminator
+200 XP

Stopping Rogue Processes (kill)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

Imagine an app on your phone freezes up, completely locking your screen, and you need to force-close it to get things running smoothly again. In Linux, we stop misbehaving or frozen programs by using the kill command followed by the program's Process ID (PID).

- Running kill 1234 sends a polite request asking the program to save its work and close down.
- If it is frozen and ignores the polite request, kill -9 1234 forces the operating system to shut it down instantly. We have a runaway process with PID 9999 hogging all our CPU right now—let's shut it down!

Let's stop the rogue process. Force-close the process with PID 9999 by running kill 9999.

Command Syntax Reference

Command / SyntaxDescription
kill 9999Terminate process with PID 9999

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Stop the rogue process with PID 9999

Ready to complete Quest 63?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.