← All commands
Topic hub PowerShell Equivalents
Windows Linux PowerShell Equivalents Expanded guide Processes

Windows PowerShell Stop-Process equivalent in Linux

Requests that a process exit or forcefully terminates it when necessary.

Windows PowerShell Stop-Process
→
Linux equivalents
Debian/Ubuntu same command
kill PID
Fedora same command
kill PID
Arch same command
kill PID

Overview

What this command does

On Windows, "PowerShell Stop-Process" is used to stop a process. On Linux, the closest practical mapping shown here is "kill PID". Requests that a process exit or forcefully terminates it when necessary. This reference is grouped under PowerShell Equivalents → Processes.

Migration tip: Start with the default TERM signal. Use KILL only when the process does not respond because KILL prevents normal cleanup.

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows PowerShell Stop-Process maps to kill PID for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.

Portable across the compared distros

The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.

Command-specific caution

Killing the wrong process can end your session or destabilize services. Verify the PID and process owner first.

Practical tasks

Common use cases

Stop a process

Requests that a process exit or forcefully terminates it when necessary.

kill 1234

Request a graceful stop

pkill firefox

Stop processes by name

kill -KILL 1234

Force termination

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

kill 1234
pkill firefox
kill -KILL 1234

Walkthrough

Examples with explanations

kill 1234 # stop one process gracefully
pkill firefox # stop processes matching a name
kill -KILL 1234 # force a process to end

Reference

Common options and variations

Command or optionUse
kill 1234Request a graceful stop
pkill firefoxStop processes by name
kill -KILL 1234Force termination

Distro differences

Debian/Ubuntu vs Fedora vs Arch

Debian/Ubuntu, Fedora and Arch all use "kill PID" for this mapping. The command syntax shown here is portable across the three rows, although installed versions and system defaults can still vary.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu same command kill PID Same command on this distribution.
Fedora same command kill PID Same command on this distribution.
Arch same command kill PID Same command on this distribution.

Important

What to watch out for

Killing the wrong process can end your session or destabilize services. Verify the PID and process owner first.

Keep learning

Related PowerShell Equivalents commands