All Questions
148
questions
48
votes
8
answers
139k
views
Unable to shutdown / reboot my Debian 10 server
I'm trying to reboot my Debian 10 server but all I get is command not found.
I've tried:
shutdown
reboot
restart
poweroff
but nothing works. I found this thread but when I try to run any of this with ...
43
votes
3
answers
37k
views
Ubuntu shutdown fail "* Killing all remaining processes..."
I have a fresh installation of Ubuntu Server. "reboot" works, but shutdown fails on the * Killing all remaining processes... step. I am using:
sudo shutdown now
After the failure, indicated by [...
37
votes
9
answers
93k
views
How to shutdown a computer instantly (1 to 5 secs) without using a physical switch/socket?
Is there any command / program via which I may shutdown my system instantly (1 to 5 secs)?
Update (2015): Thank you to those who have suggested to turn off using the power socket. :D
Update (2016): @...
26
votes
1
answer
31k
views
Shutdown Windows 10 truly for a dual booting system
It seems that "Shut down" in Windows 10 actually means "Shut down and hibernate". This has caused my NTFS partitions cannot be automatically loaded on Linux (Ubuntu 16.04) on my dual-booting laptop. ...
25
votes
2
answers
36k
views
How do I run a script before everything else on shutdown with systemd?
Note: Briefly formulated question can be found at the bottom.
I have a script which makes a backup of my files onto an external USB drive. Executing it can take a while, depending on the amount of ...
22
votes
2
answers
24k
views
Have UPS shut down computer automatically in Linux when the power goes out
I'm wondering that I could not find anything useful on Google.
I'm using a cheap UPS which actually does keep my computer powered for awhile if there are some electricity issues (they are very common ...
19
votes
6
answers
46k
views
How can I disable the "Chromium didn’t shut down correctly" message when my browser opens?
I am running Chromium 39 on Ubuntu 14.04, on a single-board computer (ODROID U3, though I believe the question is applicable to Chromium on any Ubuntu system and possibly other Linux distros as well).
...
19
votes
1
answer
3k
views
Are there any good reasons for halting system without cutting power?
Are there any good reasons to halt a system without switching off power to the hardware? I mean using the halt command without using the -p switch.
I haven’t been able to find an answer on the ...
19
votes
1
answer
38k
views
What is the difference between the shutdown, halt and reboot commands?
Should I be using one or the other for different things?
15
votes
4
answers
53k
views
Linux shutdown in 30 seconds?
Simple question: what params can be used to shutdown a computer running Linux/OSX in 30 seconds? I've always run Windows, where I would go shutdown -s -t 30 but the parameters are different. I've ...
12
votes
1
answer
6k
views
How does systemctl schedule system shutdown?
When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use ...
8
votes
10
answers
93k
views
How to shut down a computer having a particular IP address?
If we have a collection of Windows and Linux computers on a LAN, is it possible to shutdown a computer having a specific IP address, using the Linux shell?
Assume that I do not have ssh or telnet ...
8
votes
3
answers
4k
views
My computer reboots when I tell it to shutdown
There are about 40 computers at work with this problem. They all have an ASUS P5KPL/1600 motherboard. They are all running SUSE Linux 11.1.
When I tell the computer to shutdown either through the UI ...
6
votes
6
answers
19k
views
Shut down computer using ssh
What ways are there to shut down a computer using ssh? I'm running on linux and when I try to shut it down remotely using ssh, it doesn't actually work. I used the command sudo shutdown now. ...
6
votes
4
answers
2k
views
Does shutdown/reboot need root privileges under Linux? [closed]
Why do I need to be root to shutdown/reboot my computer from the terminal? Doing so via the GUI menu doesn't require root privileges.