LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-15-2003, 03:45 PM   #1
brookes
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Rep: Reputation: 0
Angry 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
 
Old 10-15-2003, 03:49 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
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
 
Old 10-15-2003, 03:50 PM   #3
GodMinusOne
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
"su" to root
then type "shutdown -h now"

edit: Megaman X just beat me to it by seconds!
 
Old 10-15-2003, 03:54 PM   #4
samishra
LQ Newbie
 
Registered: Aug 2003
Distribution: ASPLinux 7
Posts: 1

Rep: Reputation: 0
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
 
Old 10-15-2003, 03:54 PM   #5
brookes
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 10-15-2003, 03:56 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
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
 
Old 10-15-2003, 04:00 PM   #7
brookes
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 10-15-2003, 09:28 PM   #8
costasm
Member
 
Registered: Dec 2002
Posts: 71

Rep: Reputation: 15
see this thread

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


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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 02:49 PM


All times are GMT -5. The time now is 06:00 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