WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED]halt command does not shutdown my pc  (Read 3446 times)

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
[SOLVED]halt command does not shutdown my pc
« on: April 29, 2012, 03:32:28 PM »
Hi all, i have a simple question:
when i try to shutdown my pc (i have an old but very nice notebook brand nec versa), i run:
sudo halt
from my not root usually account; however this command stop all things but does not shutdown the pc and wait from me to make manually turn off.
When i shutdown pc from X, it does make shuting process without issues and turn off pc by it self.

Why this difference?

Thanks!
« Last Edit: April 29, 2012, 03:52:22 PM by paskali »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: halt command does not shutdown my pc
« Reply #1 on: April 29, 2012, 03:44:13 PM »
Try poweroff command.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
Re: halt command does not shutdown my pc
« Reply #2 on: April 29, 2012, 03:57:00 PM »
Try poweroff command.

It does work! Thanks! In other distros i have used always "sudo halt" or "sudo shutdown", never "sudo poweroff", i did not know that did exist :-)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: [SOLVED]halt command does not shutdown my pc
« Reply #3 on: April 29, 2012, 04:08:33 PM »
We are mostly busybox. poweroff is included with busybox.
Type busybox to see all the command that are included.
10+ Years Contributing to Linux Open Source Projects.

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
Re: [SOLVED]halt command does not shutdown my pc
« Reply #4 on: April 29, 2012, 04:41:01 PM »
We are mostly busybox. poweroff is included with busybox.
Type busybox to see all the command that are included.

Thanks! No more often i have used busybox so i did know well how it does work.

Now it is more clear.

Thanks again!