LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Shutdown (https://www.linuxquestions.org/questions/linux-desktop-74/shutdown-609036/)

stickleback 12-25-2007 08:22 AM

Shutdown
 
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

Brian1 12-25-2007 12:04 PM

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

Brian

shorun 12-29-2007 08:54 AM

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


All times are GMT -5. The time now is 03:27 AM.