Results 1 to 5 of 5
hi Is there any shortcut keys to shutdown linux like the one available in windows? Regards, geetha...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-16-2008 #1
- Join Date
- Apr 2008
Is there any shortcut keys to shutdown linux?
Is there any shortcut keys to shutdown linux like the one available in windows?
Last edited by oz; 05-25-2008 at 05:32 PM. Reason: removed spam URLs
- 05-16-2008 #2
Apart from the magic SysRq key, there is /etc/inittab which has these lines on my system:
# What to do at the "Three Finger Salute". #ca::ctrlaltdel:/sbin/ctrlaltdel ca::ctrlaltdel:/sbin/shutdown -a -t3 -r nowCan't tell an OS by it's GUI
- 05-16-2008 #3
So is SysRq 'p' safe on its own? Or should it still be treated as if it were not syncing or unmounting partitions?
- 05-17-2008 #4
Good questions. Yeah, there is some danger in using SysRq, specially the 'b' option on ext* filesystems. It should invoke fsck on boot though. Which I consider better than staring at a locked system.
The funny thing though, I just read the link I posted above again, and I didn't see the Raising Elephants Is So Utterly Boring before. That seems the safest choice. But I think the OP isn't talking about locked down or crashed systems, but just a quick keystroke to turn off the machine.
I know you can configure the power button on modern machines to cause a clean shutdown. If you are willing to configure your ACPI settings manually that is, because it entails a little more than right-click, left-click, check-box, done. I never thought it worth the trouble.Can't tell an OS by it's GUI
- 05-17-2008 #5
- Join Date
- Nov 2007
- Córdoba (Spain)