Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
At the end of the day, I would like to turn my system off in an orderly way to conserve energy. I use crontab to do that.
If I use crontab to do /sbin/shutdown now , the system winds down in an orderly way, killing all applications and processes. However, shutdown ends in an apparent runlevel S1, with a text prompt. Power stays on.
If I use crontab to do /sbin/poweroff, my system immediately powers off. I'm just not sure that this happens in an orderly way, killing all processes, etc. BTW, acpid is running.
Please tell me the best way to turn off power in an orderly way.
I use shutdown -r now while in terminal mode to effect a restart, but putting a shutdown in a crontab piques my curiosity. If I do that, and say schedule for some hour of the evening; that hour comes, and I am at the computer. When in an X session, Gnome for example, will a warning window popup broadcasting impending doom? Or would it just roll up and shutdown without ceremony? If the popup is supplied then it would seem oppurtune to adjust the command to allow a certain delay, thus I might save whatever open files I have. I know that can be done, I just never had a use for that facility. Putting it in crontab seems to make it de rigeur.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.