Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Help! ... Shut Down/restart From The Keyboard?, newbie 'deleted' exit command from menu
Onestep
post Jul 11 2004, 10:27 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 19
Joined: 27-June 04
Member No.: 3,240



I've been hacking around in the Fluxbox menu file tweaking it to my liking.
I made an error which removed the commands to exit or restart or shutdown Fluxbox.
I've corrected my editing error (i think!) but now I need to "restart" Fluxbox in order for it to take effect.
Is there a way to restart or exit Fluxbox using only keyboard commands?
I'm assuming that if I just hit the Power Off button on my 'puter I'll lose all of my file editing?
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 11 2004, 10:51 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



press Ctrl-Alt-F2, then at the console, type:

su - root

and login as root, then

shutdown -r -y 0

And the computer will shoutdown and reboot....


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Onestep
post Jul 11 2004, 11:32 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 19
Joined: 27-June 04
Member No.: 3,240



QUOTE
and login as root, then

shutdown -r -y 0

And the computer will shoutdown and reboot....


After I entered Ctrl-Alt-F2 and logged in as su I forgot the above command (when will I ever learn) so I fell back to my old ways and keyed Ctrl-Alt-Delete. The system rebooted and my 'editing work' in Flux box was saved!

Thanks... this Forum is great and your the best!!
Go to the top of the page
 
+Quote Post
Hemant
post Jul 13 2004, 10:14 AM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



Never mind...you need not to login as root even:
use "halt" command to shutdown and "reboot" command to restart.

I don't know if these commands are standard commands,but since i am a Redhat loyal i have always taken for granted that these commands are standard one.


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 02:47 AM