You are not logged in.

#1 2025-02-11 18:36:15

jronald
Member
Registered: 2022-05-09
Posts: 218

[SOLVED] Is it harm to reboot/shutdow by command?

When in a desktop environment, is it harm to reboot/shutdow by command?
Or is it better to reboot/shutdown with GUI?
Why?

Last edited by jronald (2025-02-12 06:40:57)

Offline

#2 2025-02-11 18:41:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,175

Re: [SOLVED] Is it harm to reboot/shutdow by command?

it shouldn't matter, but it somewhat depends on what GUI you're explicitly talking about. It's possible that a GUI button might do some specific cleanup/safety routines (e.g. it used to be the case that warnings for open but unsaved docs or so could only be done with DE specific integration, but logind should allow that even with a standard shutdown), but it feels like bad design if anything is explicitly reliant on that. Regardless of the method, every process should get a proper TERM signal that allows them to do relevant cleanup.

Offline

#3 2025-02-11 20:17:10

BluePyTheDeer_
Member
Registered: 2024-05-23
Posts: 117

Re: [SOLVED] Is it harm to reboot/shutdow by command?

I have done it many, MANY times, your computer should be totally fine.


I messed my Arch Linux installation, then fixed it smile
"Sometimes the best complexity is simplicity." - BluePy, 1856.

Offline

#4 2025-02-11 20:27:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Is it harm to reboot/shutdow by command?

I use the power button on my laptop. It's quicker than navigating the GUI or typing commands and logind will shut things down just as cleanly.

Last edited by Head_on_a_Stick (2025-02-11 20:29:19)


Jin, Jîyan, Azadî

Offline

#5 2025-02-12 06:27:04

jronald
Member
Registered: 2022-05-09
Posts: 218

Re: [SOLVED] Is it harm to reboot/shutdow by command?

Usually,
no harm for hardware,
possible harm for software (mainly for data).

Thanks

Last edited by jronald (2025-02-12 06:39:46)

Offline

#6 2025-02-12 07:24:12

cryptearth
Member
Registered: 2024-02-03
Posts: 2,130

Re: [SOLVED] Is it harm to reboot/shutdow by command?

my daily routine is to ssh into my home server, boot my main rig via wake-on-lan, do a pacman -Syu and a reboot on my way home from work
only when there's akernel update and I first have to rebuild zfs I rather do that while sitting at the system - had no issue over the past 2 yeara

Offline

Board footer

Powered by FluxBB