quote:
Originally posted by dbl221:
shutdown -h now
will shutdown Linux and most Unix systems. As for the machine powering completely down........this is hardware dependent, but the above comand will work in most cases........if it doesn't then its your hardware.
okleydokley boss, is there a file that i can add this line to to make it happen automatically when i shut down?
VoidMain, i am really not sure of the appropriate syntax for what i am really doing. I currently have the system set to start X automatically when i switch on, this brings up a red hat graphical login screen. i log in, do my thing, then when i log out, i get taken back to the login screen here. This login screen has options for logging in with GNOME and with KDE, and with something else too... not sure what.
Anyway, here i am at the login screen, there's a little menubar, one of the tabs is called "System" i think (i can't check as i'm not at home right now) and when you look in the "System" menu, you get two options, Halt, and Reboot. Since i don't want to reboot the machine, i choose Halt.
The result is that the hard disk light goes for about 15 seconds (presumably while everything is unmounted, killed et c, whatever, i don't know which F* keys to use to check what it's doing) then stops. The screen is left on the login screen, but with no mouse, no nothing. This leads me to believe that the system has safely shut down (certainly i don't see any "panic panic! help help!" style messages the next time i start up) but how to get it to automatically shut down the physical machine too? or at least get rid of the login screen?
is there a line i can add somewhere? if so where?
thanks for yr answers guys! it's very encouraging. I just downloaded the red hat 7 getting started pdf so that's 250-odd pages of readin i will be doing now!