Step 1/1: End processes by name

kill needs process IDs; pkill NAME finds processes by name and signals them (TERM by default); a name that contains the text matches. pgrep -l NAME first shows what would be picked. pkill -9 NAME forces it.

$ pkill worker
Fundamentalspkillkillprocess
End processes by name
2 worker processes and one guard run in the background (ps -u user shows them). End every worker with one command; guard must keep running.

This exercise needs real Linux

The commands it uses (processes, networking and more) are not in the simulator. Switch to real Linux and the exercise runs in a real Linux system inside your browser.

topNext lesson:killall