LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-28-2004, 02:44 AM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
how do i shutdown my computer?


after i edit inittab, and make it run level 3, i start linux and it goes into text mode.
ok, thats fine, but how do i shutdown my computer in text mode?
when i type in
shutdown now
it only seems to terminal x or something... i dunno, not sure, so how do i shutdown my computer in run level 3?
 
Old 02-28-2004, 02:49 AM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
shutdown -h now

halts your computer,

shutdown -r now

reboots it.
 
Old 02-28-2004, 07:26 AM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
also
reboot
reboots it, and runlevel 0 reboots your system and runlevel 6 halts it (i think mighta got em backwords, and these levels apear to be hardcoded in so dont try to change them like i did (), itll only complain then error out while triyng to reboot / halt the system

also note: halting the system only means it sends and kills every process it started (so the kernel and the console will still be there, and you can even type in it to, only nothing wil happen as every program that lsiten on the console for input is killed)
 
Old 02-28-2004, 12:19 PM   #4
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by SciYro
also
reboot
reboots it, and runlevel 0 reboots your system and runlevel 6 halts it (i think mighta got em backwords, and these levels apear to be hardcoded in so dont try to change them like i did (), itll only complain then error out while triyng to reboot / halt the system

also note: halting the system only means it sends and kills every process it started (so the kernel and the console will still be there, and you can even type in it to, only nothing wil happen as every program that lsiten on the console for input is killed)

am i suppose to go into run level 0 and do the shutdown command? if so how?

and also, why is the kernel and console still there? i want my computer to be COMPLETELY shut down as in the power goes off, how do i do that?
 
Old 02-28-2004, 01:00 PM   #5
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
You'll need to use the apmd by the sounds of things. Make sure that it's supported in the kernel, and if not, do a
# modprobe apm
And then start the apmd, then do the
# shutdown -h now
and it should turn it off after shutting down.

HTH, let me know if i'm too confusing
 
Old 02-28-2004, 01:44 PM   #6
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
when i do the modprobe apm, it says 'can't located module apm'

the thing i dun understand is, if i start linux under run level 5 into graphical mode, and then log into my user account, open terminal, go as root and type in
shutdown -h now
it shuts down my computer (the power is gone and everything)

but if i start my computer under run level 3 into text mode, and log in with user and the go under root and type
shutdown -h now
it doesnt turn off my computer as in completely stopping the power
 
  


Reply


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
Do you shutdown that computer ? pleasehelpme General 32 05-16-2005 11:59 AM
How can I shutdown the computer without being root? Shagrath239 Slackware 13 02-19-2005 06:53 PM
Why won't the computer shutdown? daniel_brown_15 Linux - Hardware 1 08-09-2004 01:53 PM
shutdown computer? Longinus Linux - Newbie 7 02-11-2004 07:22 PM
how to shutdown my computer saiz66 Slackware 13 04-30-2003 10:19 AM


All times are GMT -5. The time now is 10:44 AM.

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