Results 1 to 3 of 3
I was using Ubuntu recently and some of the shutdown commands. To say the least, the way computers turn off today is not exactly what I'm looking for.
I want ...
- 07-17-2007 #1
Cut the power with terminal or a script?
I was using Ubuntu recently and some of the shutdown commands. To say the least, the way computers turn off today is not exactly what I'm looking for.
I want a way of simply turning off the computer. A "hard shutdown," if you will. I want a script that is similar to "pulling the plug."
I figure I could eventually use xbindkeys to use a key commands, but at the moment, I'd interested in whether or not Linux is capable of turning off the computer without going through a "kill process."
It is possible?
How could it be done?
- 07-17-2007 #2
Check out the 'poweroff' command, particularly the '-f' flag.
DISTRO=Arch
Registered Linux User #388732
- 07-17-2007 #3
I tried that, but the system froze when I did that. It froze at the terminal and nothing else happened. All the hardware froze, too.
and then it freezes.Code:$ sudo su $ poweroff -f
I'm using Ubuntu Feisty.


Reply With Quote