How to completely shutdown from Slackware terminal?
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.
How to completely shutdown from Slackware terminal?
I am an absolute newbie and have nothing but Slackware 13.37 installed on this computer. I do not have, nor want, any type of "desktop" as I am trying to learn Linux commands, not how to point and click. I am finished with my lessons for today and now want to exit the program and shutdown the computer. However, "Quit, Exit nor Shutdown seem to work.
Please do not advise me to install, edit, modify or alter any files in your reply as I am too new to understand such dialog. (We all began somewhere?) I am asking on the logical assumption that the creators of Slackware 13.37, did, in fact, incorporate some command to accomplish what I ask. If no reply received with a few hours, I will be forced to just press the power button until the machine is shut off.
You can also use the commands poweroff and reboot, they will do what their names suggest.
Also, if ACPI is working correctly just a short press on the power-button (not the 4 seconds press) should work.
rahulkya is correct, but you do have to be root to execute those commands.
For a non-root user (I'm logged in as james right now) I can simply press and release the power button. On any recognized hardware made in the last 5 to 10 years that will generate an ACPI power button event that Slackware Linux will respond to by shutting down. Try it.
Also, by default Ctrl-Alt-Delete (the three-fingered-salute) will either power-off or restart, I forget which. ;v)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.