Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2004, 06:10 PM   #1
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Rep: Reputation: 30
Shutdown command?

I know this is a dumb problem to have, but I don't know the command to shutdown a Linux box from the console. I always just hit Crl+Alt+Del, waited for it to reboot to the boot loader, and then hit the power switch. I realized that I didn't know the command when my buddy was sitting at my computer and asked me how to turn it off. It was a little embarassing to have to say "I don't know."

Please advise.
Old 07-10-2004, 06:28 PM   #2
Registered: Apr 2004
Location: East of Quebec
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
the command is "shutdown". Do man shutdown for detail
Old 07-10-2004, 06:29 PM   #3
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
shutdown -h now

that should do the trick.

<edit>i'm always finishing the race last. guess it's ok, as long as i finish. </edit>

Last edited by Peacedog; 07-10-2004 at 06:31 PM.
Old 07-10-2004, 09:25 PM   #4
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
Don't be embarrassed, i've heard at one point that Linus Torvalds himself once asked the same question.
Old 07-10-2004, 09:53 PM   #5
Registered: Jul 2004
Location: /home/mikezila
Distribution: Slackware
Posts: 377

Original Poster
Rep: Reputation: 30
Really? Wow. Sort of like Henry Ford asking "So. How do we start this auto-mo-bile?"

Old 07-27-2008, 12:44 AM   #6
LQ Newbie
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
init 0 -> for shutdown
init 6 -> for restart
Old 07-27-2008, 04:33 PM   #7
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,114

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
if shutdown don't work try halt -p or halt -P, can't remember which. it worked on my slack12.0 installation
Old 07-27-2008, 05:09 PM   #8
john test
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
I like "shutdown -r now" for the reboot function


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown command xviddivxoggmp3 Red Hat 5 05-12-2004 04:48 PM
shutdown command mikedelo Linux - Software 7 03-15-2004 08:37 AM
shutdown command Oakstaff Linux - Newbie 8 11-18-2003 09:47 PM
shutdown command nelly_boy Linux - Software 11 08-03-2003 06:04 AM
Shutdown Command? AMDPwred Linux - General 1 01-25-2002 08:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration