Ask Your Question
0

Alt+F2 Shutdown command not working...

asked 2012-10-26 18:32:35 -0500

PolyShell gravatar image

Hi all,

I'm currently running F17. When I alt+f2 and type shutdown, the prompt window closes but my PC stays on. Isn't this command supposed to shutdown my box?

I was wondering if I was naively overlooking something... I was also wondering if alt+f2 commands are commonly used, and if so what are some popular ones.

Thanks!

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
1

answered 2012-10-29 08:10:07 -0500

zoltanh721 gravatar image

As root you can halt the machine with pm-suspend, and pm-hibernate (hibernate and suspend) if your hotkeys are not working. For shutdown, there is also several options, like "halt", and "shutdown -h now" (halt) - "shutdown -r now" (restart). I don't suggest the init commands, because it won't halt every process, else it kills immediately them. For the hotkeys are mostly means quirks, and ACPI problems, and maybe missing configuration for hotkeys.

edit flag offensive delete link more
2

answered 2012-10-28 09:05:17 -0500

Hello Poly Shell.

The proper command is:

shutdown -h now

Hope this helps.

edit flag offensive delete link more
1

answered 2012-11-01 04:08:38 -0500

rohitsd gravatar image

You can use poweroff command. It even does not require user to be a root/sudoer.

edit flag offensive delete link more
0

answered 2012-10-29 03:48:34 -0500

Pascal76 gravatar image

Since years I use:

init 0 for shutdown

init 6 for reboot

This is standard on *BSD systems.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-26 18:32:35 -0500

Seen: 1,202 times

Last updated: Nov 01 '12