Written 24 Aug 2026. This is a how-to, not a product card.
Shut down the computer without yanking the plug
When you're done for the night, shut it down and let it finish writing files before it powers off. Don't yank the cord. Skip this if you only need a reboot after updates.
The computer is still writing files. Pi-hole and the house share live there. A shutdown finishes writing files, then powers off. One command. Wait for the lights to go dark.
Skip this if you only need a reboot
If you just ran keep the computer updated and see if a reboot is needed said yes, use sudo reboot there. You don't need this shutdown. Come back when you are done for the night.
SSH in, then shut it down
From your normal computer, SSH from the couch. Then run one command.
sudo shutdown -h now
That powers the computer off. Wait for the lights to go dark before you unplug. Yanking the cord while it is still writing can leave SSH and Pi-hole dirty when it comes back.
Reboot instead
If you are moving it, not done for the week, reboot instead of shutting down.
sudo reboot
Then find the computer on the house network and SSH back.
The lid is not a shutdown
Closing a laptop lid is sleep, not shutdown. Sleep is a pause. The machine is still on, but it has stopped doing work. That is don't let the old laptop sleep. A desktop can skip the lid talk. Yanking the charger is also not a shutdown. It may keep running on battery, or it may cut power mid-write.
What next
To bring it back from soft-off without walking over, that is wake the computer from the house network. If it has been a week, keep the computer updated. If the computer is a laptop you leave on, that is don't let the old laptop sleep. A house outlet is enough. That is you don't need a UPS yet. Don't buy a NAS.
Skip
- Skip this note if you only need a reboot after computer-updates.
- Skip yanking the cord.
- Skip a UPS, a NAS, and a new switch this pass.
Sources
Debian: shutdown. Ubuntu: shutdown. Official pages only. For the computer, see start with what you already have. For the weekly fixes, see keep the computer updated. For the login, see SSH from the couch.