LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2006, 05:19 AM   #1
camladuk
LQ Newbie
 
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9

Rep: Reputation: 0
shutting down linux, please help.


can anyone PLEASE tell me how to shut linux down properly. at the moment i can't find anyway to do this apart from the old way of just switching it off by the power switch, which is not good i know, i know!!! don't all rant and rave at me please!!!!!!!!!!!

anyways, further to the point, this would be great if someone could help me please. thanks very much.


tony wares
(aka camladuk)
 
Old 04-28-2006, 05:24 AM   #2
saini_mw
Member
 
Registered: Jun 2005
Location: On the top of the World
Posts: 114

Rep: Reputation: 15
For shutting down if you are using Xwindows then just click the redhat and click on logout you will be prompted to shut down or restart or logout,.otherwise just open the terminal and process the command

1. init 0 :- for shut down
2. init 6 :- for restart your pc

enjoy..
 
Old 04-28-2006, 05:34 AM   #3
camladuk
LQ Newbie
 
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9

Original Poster
Rep: Reputation: 0
shutting down linux.

if u looked, i'm using mandrakelinux 10.1.

i'm using the kde3.2 GUI and there is no option to shut down. i have no knowladge of linux at all as i have just migrated over.

oh and the init 0 command did not bring up anything. please help!!!

Last edited by camladuk; 04-28-2006 at 05:36 AM.
 
Old 04-28-2006, 06:18 AM   #4
tizzef
Member
 
Registered: Jan 2005
Location: Nice, France
Distribution: Ubuntu,RHES, Mandriva, RHAS, AIX 4.3.3, 5.2 & 5.3, Debian,Solaris8/10
Posts: 119

Rep: Reputation: 20
Had you try the <halt> command ??
 
Old 04-28-2006, 06:49 AM   #5
camladuk
LQ Newbie
 
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9

Original Poster
Rep: Reputation: 0
yes i have tryed the halt command, but still no joy.
 
Old 04-28-2006, 06:54 AM   #6
slackmagic
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 255

Rep: Reputation: 35
hello camladuk,


/sbin/shutdown
OR
/sbin/halt
OR
by switching init mode (as saini_mw suggested)

in order to run either command you will need to be root/superuser

you can always do

Code:
man shutdown
OR

Code:
man halt
again as root/superuser to get more information on how to use these commands


good luck
 
Old 04-28-2006, 02:02 PM   #7
camladuk
LQ Newbie
 
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9

Original Poster
Rep: Reputation: 0
ok, thanks everyone, i have found out how to shut down on the GUI. i had to enable it first on the system, configuration part of KDE 3.2. if anyone else wants to know this, i suggest you remember this for another time.


tony (aka camladuk).
 
Old 04-29-2006, 03:52 PM   #8
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Just in case for some reason your GUI gets killed or something...

To switch between into VT:s (text mode) press Ctrl-Alt-Fx where x is a number (usually 1-7). VT7 is usually reserved for X-windows (graphical mode). From these virtual terminals you can login as a normal user or as root user (superuser). If you have to shutdown the computer from a virtual terminal, login as "root". Then issue

shutdown -h now

You can also use the commands suggested below. Just remember that you'll have to root to shutdown the computer. You can also try what Ctrl-Alt-Del does, but it works _only in virtual terminals_ not in X-windows.
 
Old 04-29-2006, 07:23 PM   #9
camladuk
LQ Newbie
 
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9

Original Poster
Rep: Reputation: 0
thanks basileus, but since i do not have x-windows, i won't be using it. i'm using kde 3.2 but i'm going back to win xo pro now. as the java VM is so hard to install.

thanks guys for all your help, i'll be a linuxer once i've read uo on it a bit and decided what distro i'm going to use for cirtain.

tony wares, (camladuk)
 
  


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
shutting down PC - Linux Enterprise WS SsGeorge Linux - Enterprise 4 03-31-2006 04:16 PM
Shutting down windowsXP from linux? filpee Linux - General 2 02-20-2005 03:33 AM
shutting down in linux prob blinux1 Linux - Newbie 1 12-12-2002 12:57 PM
shutting down linux from windows dave308 Linux - Networking 9 12-13-2001 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 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
Open Source Consulting | Domain Registration