LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to shutdown ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-shutdown-104372/)

brookes 10-15-2003 03:45 PM

how to shutdown ?
 
Hello all,

I am feeling VERY pleased with myself :-), I have taken the plunge and installed mandrake 9.1 on my pc and it dual boots with XP with NO problems - a miiracle in itself. BUT how do I close down the machine when i want to get some zzzzz's.
I do not log on as root.
Thanks
Peter
:newbie:

Mega Man X 10-15-2003 03:49 PM

Hi brookes!!!

And welcome to LinuxQuestions.org. There are many ways do turn the computer off (pressing the button ain't a good idea... lol). You could:

1 - Fire up a terminal, and type "su -" (to become root) then "shutdown -h now". the "-h" stands for Halt. If you set -r, you will Reboot the machine. If fails, try only "halt" also without the quotes.

2 - Which desktop manager are your running? Because I remember Gnome had and option to shutdown the machine.... That would be easier :)

GodMinusOne 10-15-2003 03:50 PM

"su" to root
then type "shutdown -h now"

edit: Megaman X just beat me to it by seconds!

samishra 10-15-2003 03:54 PM

You can issue the following command to shutdown your machine...

shutdown -t now

If you get permission problems then you can su to root and issue the command. You can su by issuing the following command and supplying the root password

su

To read more about shutdowns and rebooting issue the following command

man shutdown

brookes 10-15-2003 03:54 PM

Hi guys,
Names Peter here.
I am using kde desktop, so where do i enter 'su' is it in a command window ?
thanks for being so helpful, I have been cossetted in windoze for years, this ia all STRANGE
regards
peter

Mega Man X 10-15-2003 03:56 PM

Hi again :)

Yeah, it's a command line windows (just as old dos). I'm not sure where it was on KDE, but look after "konsole" from the main menu :)

brookes 10-15-2003 04:00 PM

hello again,

Thanks guys, I will go and try this, and do some reading too.

regards.

p.s. thanks for being soooo welcoming, makes a change from some windows forums

costasm 10-15-2003 09:28 PM

see this thread

http://www.linuxquestions.org/questi...t=kde+shutdown


All times are GMT -5. The time now is 04:08 PM.