Shutting down applications and systems
Killing Fields
Linux offers a variety of tools for shutting down systems and processes. We describe some important commands.
Compared with Windows, Linux offers a stable operating system. Every now and again, however, you will need to intervene to stop an application that has frozen or misbehaved. You might also want to shut down the entire system because you want to reboot with a new kernel or edit partitions – or simply because you prefer not to leave your machine running because of the risk of thunderstorms. In any of these situations, you can often use desktop tools, but, as usual, working from the command line gives you more options.
Besides, if your system is experiencing problems, a desktop tool is probably more likely to misbehave than a command-line tool. There's simply more that can go wrong.
For these circumstances, Linux offers a variety of tools. To control applications, the shell offers the bluntly named kill and killall commands, as well as the deadliest of them all, killall5. For turning off your system, you can choose between the classic command shutdown or the similarly organized halt, poweroff, and reboot. More recently, these commands have been joined by scripts to hibernate or suspend.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
The Bullet-Proof KDE Software Initiative Is Coming
KDE, Techpaladin, and Kubuntu Focus have announced a new initiative that will provide at least three years of support for KDE Plasma 6.6 LTS and related software.
-
Linux Mint Shares a Possible Kernel Cleanup Solution
For those on Linux Mint who like to keep multiple kernels around but don't want them to take up too much space, you might be getting a new automated tool.
-
CachyOS Gets an Update
CachyOS August 2026 release is now available with the latest version of KDE, some new features, and plenty of improvements.
-
The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
-
Linux Surpasses Double-Digit Market Share
According to two sources, the Linux operating system has hit a major milestone in market share that naysayers thought would never happen.
-
AI Helped Develop a Linux Exploit
A use-after-free race exploit was discovered and exploited on CentOS Stream 9.
-
Yet Another Linux Kernel Vulnerability Discovered
Affecting millions of systems, a kernel flaw discovered by Qualys could allow users to gain root privileges.
-
Ubuntu 26.10 to Include Ubuntu Certified Hardware Check
If you've ever wondered if your laptop or PC is officially certified to run Ubuntu, that curiosity will soon be met.
-
Substantial Update to IPFire Now Available
The lastest version of IPFire features a fundamental change to how the system handles DNS.
-
Gnome Working on Test Center App to Make Testing Easier
It's now possible to test experimental features on the Gnome desktop without worrying that you'll break things.
