FG
💻 Software

How to kill a process with name having spaces?

Fresh5 days ago
Mar 15, 20268889 views
Confidence Score0%
0%

Problem

A process with name=example can be killed by killall -9 example How to kill multiple instances of following command which contain spaces? "valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03" Following command returns valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitp…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to kill a process with name having spaces?

Low Risk

will kill all processes regardless of arguments. If you want to kill only processes whose command line is exactly , you can use : Like , is on every non-embedded (and some embedded) Linux installations, and it's more powerful and often more reliable…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment