Results 1 to 9 of 9

Thread: command to shutdown 8.10 server

  1. #1
    Join Date
    Jan 2008
    Beans
    237

    command to shutdown 8.10 server

    What is a easy command to tell the server to shutdown? None of my searches have given a clear indication of such command.

  2. #2
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: command to shutdown 8.10 server

    sudo shutdown

  3. #3
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: command to shutdown 8.10 server

    Try this
    sudo shutdown -h now
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  4. #4
    Join Date
    Mar 2007
    Beans
    1,052

    Re: command to shutdown 8.10 server

    What's the difference between those and sudo poweroff?
    Apps for Ubuntu (outdated) ---> http://cid-23a283fc1010a1bb.skydrive...%20Wine|6?uc=1
    Use Mnemosyne to Study for School!

  5. #5
    Join Date
    May 2006
    Location
    auckland
    Beans
    165
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: command to shutdown 8.10 server

    Code:
    sudo halt now
    works as well i think.
    registered Linux user number 424507. machine number 332124
    Which mindset is right? Mine, of course. People who disagree with me are by definition crazy. - Linus Torvalds

  6. #6
    Join Date
    Sep 2006
    Location
    Walkhampton, Devon UK
    Beans
    371
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: command to shutdown 8.10 server

    From: http://www.oreillynet.com/linux/cmd/...ath=p/poweroff

    poweroff

    poweroff [options]

    System administration command. Close out filesystems, shut down the system, and power off. Because this command immediately stops all processes, it should be run only in single-user mode. If the system is not in runlevel 0 or 6, poweroff calls shutdown -h, then performs a poweroff.
    Hope that helps!
    Infamy! Infamy! They've all got it in for me!

  7. #7
    Join Date
    Nov 2008
    Location
    Lleida, Spain
    Beans
    1,157
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: command to shutdown 8.10 server

    with shutdown you can specify what to do: halt, power off the computer, reboot...
    poweroff is like an alias to shutdown -h now
    reboot is like shutdown -r now will reboot de computer
    but with shutdown you can specify the time, for example:
    shutdown -h 60 will poweroff the computer in 60 minutes

  8. #8
    Join Date
    Nov 2007
    Location
    Denver
    Beans
    163
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: command to shutdown 8.10 server

    Code:
    man shutdown
    Gives a good run down of the shutdown command.
    ~B
    ________________________________________

    Every man dies, not every man really lives.

  9. #9
    Join Date
    Jan 2008
    Beans
    237

    Re: command to shutdown 8.10 server

    Thank you for all the replies. I have just been hitting the power button.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •