LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 09-24-2011, 12:15 PM   #1
sonnystarks
LQ Newbie
 
Registered: Jul 2009
Posts: 24

Rep: Reputation: 0
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.
 
Old 09-24-2011, 12:20 PM   #2
rahulkya
Member
 
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
you can shutdown by following command
Quote:
shutdown -h now
or
Quote:
init 0
or
to restart
Quote:
init 6
or may have to become root to run these command
 
1 members found this post helpful.
Old 09-24-2011, 12:23 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,347
Blog Entries: 2

Rep: Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978
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.
 
1 members found this post helpful.
Old 09-24-2011, 12:25 PM   #4
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 218

Rep: Reputation: 44
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)
 
1 members found this post helpful.
Old 09-24-2011, 12:27 PM   #5
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Quote:
Originally Posted by jamesf View Post
Also, by default Ctrl-Alt-Delete (the three-fingered-salute) will either power-off or restart, I forget which. ;v)
restart
 
2 members found this post helpful.
Old 09-24-2011, 01:09 PM   #6
sonnystarks
LQ Newbie
 
Registered: Jul 2009
Posts: 24

Original Poster
Rep: Reputation: 0
My thanks to all! Appreciate the courtesy and the information!
 
  


Reply

Tags
beginner, shutdown, slackware 13.37


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 laptop cannot shutdown completely Raynus Linux - General 3 06-06-2008 09:39 AM
Unable to completely shutdown. greythorne Fedora 1 06-16-2006 03:51 AM
Shutdown completely clum Slackware 3 11-26-2003 04:25 AM
Shutdown not shutting down completely jrdioko Linux - Newbie 19 10-12-2003 11:47 AM
How to shutdown Red Hat 9.0 completely? Tim K. Linux - Newbie 3 07-02-2003 09:20 AM


All times are GMT -5. The time now is 06:10 AM.

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