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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-28-2006, 05:19 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9
Rep:
|
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)
|
|
|
04-28-2006, 05:24 AM
|
#2
|
Member
Registered: Jun 2005
Location: On the top of the World
Posts: 114
Rep:
|
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..
|
|
|
04-28-2006, 05:34 AM
|
#3
|
LQ Newbie
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
04-28-2006, 06:18 AM
|
#4
|
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:
|
Had you try the <halt> command ??
|
|
|
04-28-2006, 06:49 AM
|
#5
|
LQ Newbie
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9
Original Poster
Rep:
|
yes i have tryed the halt command, but still no joy.
|
|
|
04-28-2006, 06:54 AM
|
#6
|
Member
Registered: Aug 2003
Distribution: Slackware
Posts: 255
Rep:
|
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
OR
again as root/superuser to get more information on how to use these commands
good luck
|
|
|
04-28-2006, 02:02 PM
|
#7
|
LQ Newbie
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9
Original Poster
Rep:
|
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).
|
|
|
04-29-2006, 03:52 PM
|
#8
|
Member
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388
Rep:
|
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.
|
|
|
04-29-2006, 07:23 PM
|
#9
|
LQ Newbie
Registered: Apr 2006
Location: Brighton, United Kingdom.
Distribution: mandrakelinux 10.1
Posts: 9
Original Poster
Rep:
|
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)
|
|
|
All times are GMT -5. The time now is 02:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|