Hackbydoing Academy tool guide · Linux command line essentials · free, no login
kill sends a signal to a running process — by default the polite 'please stop now' signal — using the process ID (PID) number that ps showed you.
kill 3030
It asks the process with PID 3030 to shut down; well-behaved programs save, clean up and exit.
| -9 | Send signal 9 (called SIGKILL) instead of the polite default: the system stops the process immediately and it cannot refuse or clean up. It is the last resort for a process that ignores a normal kill — the academy teaches it as 'kill -9 forces it'. |
| -> | Not a flag at all: in academy notes like 'kill -> verify' this is just an arrow drawn in the text, meaning 'and then' — kill the process, then verify it is really gone (for example, check that it missed its next check-in). |
| the PID | The number after kill is not a flag — it is the process ID, the unique number of the running program you want to stop, which you copy exactly from ps or top output. |
Only run kill on systems you own or have explicit, written permission to test — at work that means a signed engagement, at home that means your own lab. Inside Hackbydoing Academy you practice on simulated networks and lab machines built for exactly this, where breaking things is the lesson and no one else's systems are involved. Learning how a tool works also teaches you what it looks like from the defender's chair: the logs it leaves, the traffic it makes, and the settings that shut it down.
Reading about kill is step one. In the Academy you run it yourself, step by step, in guided labs on simulated networks — 185 rooms covering attack and defense, from your first scan to full operations, with a defender's debrief at the end of every room. Founding membership is $9.99/mo for the first 500 members.
Join Hackbydoing Academy →Free from the Hackbydoing Academy — learn cybersecurity by doing: real tools, guided labs, attack and defense, on simulated networks. More free material: Tool Guides index · Free Downloads Library · Hackbydoing Academy · Print this page (Ctrl/Cmd+P) for a clean paper copy.