LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-05-2009, 11:51 PM   #1
targettl
Member
 
Registered: Sep 2009
Location: Launceston
Distribution: Kubuntu
Posts: 84

Rep: Reputation: 16
Short cut shutdown


I know that there is a short cut to reboot a machine, which is:
control,alt,delete.

Is there a universal equivalent that will shut down a machine. I am not talking about from the actual OS but when I am loading grub or something like that.
 
Old 11-06-2009, 01:16 AM   #2
deci007
Member
 
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
id:0:initdefault:

/etc/inittab

this line will keep shutting down your system.
you never want to do this becuase this will lock you out of system.

#HALT (SHUTDOWN)
id:0:initdefault:

#your system will keep restarting . you will not get chance to do any #login.
id:6:initdefault:

#shutdown -h now : to shutdown your system

#reboot : to reboot
#shutdown -r now
 
Old 11-06-2009, 01:24 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
It seems you are asking a question about the bios. As far as I know there is no "universal equivalent" to shut down machines implemented in all bios'.

Evo2.
 
Old 11-06-2009, 03:39 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What happens when you press Ctrl-Alt-Del is defined in /etc/inittab as stated eariler.

By default it is:

Code:
# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -r now
if you want it to shutdown instead you would change that to:

Code:
# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -h now
The settings are applied next reboot.
 
Old 11-06-2009, 05:09 AM   #5
targettl
Member
 
Registered: Sep 2009
Location: Launceston
Distribution: Kubuntu
Posts: 84

Original Poster
Rep: Reputation: 16
It would be nice to have a universal shortcut in all bios's but this doesn't seem to be the case. Maybe Shift,Control,Delete would be a good idea.

By the way this isn't really a Linux question, but this is the best forum site around so I thought I would put it here anyways.
 
  


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
Short Cut Keys sukhen Linux - Software 3 02-17-2006 12:26 PM
Kernel compilation - is there a short cut ? prabhatsoni Linux - Software 1 11-30-2004 03:42 AM
short(er) cut to using swaret. xushi Slackware 5 05-03-2004 06:50 PM
Short-Cut Keys sathiskanna LinuxQuestions.org Member Success Stories 1 09-08-2003 11:06 PM
Short-cut keys SnowSurfAir Linux - Hardware 4 04-04-2003 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 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
Open Source Consulting | Domain Registration