Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 12-25-2007, 08:22 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 8
Blog Entries: 1

Rep: Reputation: 0

I am using Fluxbox window manager and Rox-filer. Is there any script or way that I can simplify shutdown? I can initiate in two ways now. That is type in [CODE]shutdown now -h[, or just press the power button briefly. The only thing about pressing the power button is I not sure if that is a proper way to shutdown. The other way is a bit going to root then using the shutdown now -h command. Thanks in advance for any help. Michael
Old 12-25-2007, 12:04 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
You can do either without issue. As far as script all there would be is the command you type in the first place.

Old 12-29-2007, 08:54 AM   #3
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
you could make an alias, something like alias halt="shutdown now-h"
it would make "halt" the same command. add this to /etc/bash.rc or, on some machines /etc/bash.bashrc

or, maybe the most effective way.
press "ctrl+alt+f1" to go to a console window, and press "ctrl+alt+delete"
but i think this does a reboot, not halt


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
My Linux box does not shutdown i do when i do /sbin/shutdown -h now yawe_frek Linux - Hardware 6 09-14-2007 07:48 AM
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
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 > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration