jaedyna.blogg.se

Linux shutdown command
Linux shutdown command













linux shutdown command

linux shutdown command

If you operate more in a terminal than in a GUI desktop, you might prefer to reboot with a command. Depending on your computer vendor (or parts vendors, if you build your own), a button press might be a light tap, or it may require a slightly longer push, so you might have to do some tests before you get the hang of it.īeware of an over-long press, though, since it may shut your computer down without warning. Next, select the Power category in the left column, which opens the following menu:Īfter you configure how the button event is handled, pressing your computer’s physical power button follows whatever option you chose. On GNOME, open the system tray menu and select Activities, and then Settings. If you want to change this setup, you can do so in your system settings. Usually, ACPI options are generically called Power and are set to a sane default. This feature is provided by the Advanced Configuration and Power Interface (ACPI) subsystem, which communicates with your motherboard’s firmware to control your computer’s state.ĪCPI is important but it’s limited in scope, so there’s not much to configure from the user’s perspective. If you press that button, your Linux desktop may display a power menu with options to shut down or reboot. Most computers have a physical power button. You may have to select between rebooting and powering down, but in the end, the result is nearly identical: Processes are stopped, nicely, so that data is saved and temporary files are removed, then data is synchronized to drives, and then the system is powered down. Other desktops provide variations on these themes, but the general idea is the same: use your mouse to locate the power button, and then click it. Since powering down and rebooting are common tasks on a workstation, you can usually find the power button (typically with reboot and shut down options) in a few different places. On the GNOME desktop, it's in the system tray: The first way to reboot or shut down Linux is the most common one, and the most intuitive for most desktop users regardless of their OS: It’s the power button in the GUI. If you force your computer to shut down or reboot, you risk losing unsaved and even recently-saved data, and even corrupting important system information you should only ever force your computer off when there’s no other option. Whenever possible, reboot using the intended interfaces, whether in a GUI or a terminal. Second, rebooting is meant to be a friendly process, allowing time for programs to exit, files to be saved, temporary files to be removed, filesystem journals updated, and so on. Then again, it doesn’t hurt to reboot, either, so it’s up to you.

#Linux shutdown command software#

There’s no need to "freshen up" your computer with a reboot unless specifically advised to do so by a software installer or updater. Your Linux machine can operate for weeks or months at a time without a reboot if that’s what you need. First, rebooting is rarely requisite on a POSIX system. Even within POSIX systems, the commands to power down and reboot may behave differently due to different initialization systems or command designs.ĭespite this factor, two concepts are vital. Rebooting is a unique process on each operating system. Understand your optionsīefore continuing though, a note on rebooting. And for a system that doesn’t need rebooting often, Linux offers plenty of choices for when it’s time to start over.

linux shutdown command

While it may not be a day-to-day reality, it’s at least a weekly reality that sometimes you have a good reason to reboot your machine. In some industries, that’s exactly what Linux does, thanks to advances like kpatch and kgraph.įor laptop and desktop users, though, that metric is a little extreme. Linux is fully capable of running not weeks, but years, without a reboot.















Linux shutdown command