WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline paskali

  • Jr. Member
  • **
  • Posts: 71
[SOLVED]halt command does not shutdown my pc
« on: April 29, 2012, 11:32:28 AM »
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, 11:52:22 AM by paskali »

Online bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 4956
    • My Community Forum
Re: halt command does not shutdown my pc
« Reply #1 on: April 29, 2012, 11:44:13 AM »
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, 11:57:00 AM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7344
  • Founder Emeritus
Re: [SOLVED]halt command does not shutdown my pc
« Reply #3 on: April 29, 2012, 12: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, 12: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!