LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-10-2013, 06:09 AM   #1
kvp
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
how to shutdown fedora 17 ?


using short-cut how to shutdown my fedora 17?
 
Old 02-10-2013, 07:39 AM   #2
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 160

Rep: Reputation: 2
Go to keyboard options and add a custom shortcut "/sbin/halt" or "/sbin/shutdown now"
 
Old 02-10-2013, 08:31 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
You should first check manual of shutdown command, then you can use shutdown:
Code:
~$ man shutdown
~$ /sbin/shutdown -h now
Also check this link.
 
Old 02-10-2013, 03:14 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 14,019

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
click the "shut down" icon in the menu
for a desktop launcher
r-click it and select "add to desktop"
 
Old 02-11-2013, 01:49 AM   #5
RaviTezu
Member
 
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
$sudo init 0 to shutdown

$sudo init 6 to reboot

Note: You should have the required privileges to run those commands.

Last edited by RaviTezu; 02-11-2013 at 01:50 AM.
 
Old 02-11-2013, 02:01 AM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by RaviTezu View Post
$sudo init 0 to shutdown

$sudo init 6 to reboot

Note: You should have the required privileges to run those commands.
It's always recommended to use shutdown command instead of init to shutdown or reboot a system.

- shutdown is allowed command for a normal user, whereas init can be executed by super user only.

- shutdown is safe and interactive and it can be executed with a message to logged in users, whereas init is not interactive.

- init is basically used to switch between different run-levels, but not a primary option for shutdown or reboot.
 
Old 02-11-2013, 02:05 AM   #7
RaviTezu
Member
 
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
$sudo init 0 to shutdown

$sudo init 6 to reboot

However, You can use them as they are meant to be.

Last edited by RaviTezu; 02-11-2013 at 02:06 AM.
 
Old 02-11-2013, 10:31 AM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 14,019

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
Fedora dose NOT USE "sudo" by default
It uses " su" and "su -"

for sudo one has to set it up
it is turned off ,by default .
 
  


Reply


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
can't normally shutdown Fedora 11 DarkSlayer Linux - Newbie 6 07-06-2009 09:54 AM
shutdown problem with fedora 10 asifbasha Linux - Laptop and Netbook 6 06-30-2009 09:31 AM
Fedora 11 Shutdown problem happygolucky Linux - Software 2 06-22-2009 07:04 PM
Cannot shutdown Fedora 7 Dummy-in-Linux Fedora 6 06-21-2007 07:48 PM
Help ? my fedora 3 can't shutdown pleasehelpme Linux - Newbie 1 05-08-2005 12:41 PM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
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