Welcome to the most active Linux Forum on the web.
Go Back > Blogs
User Name



shutdown instead of reboot from ctrl-alt-del

Posted 06-14-2012 at 03:30 AM by neonsignal

Typically the ctrl-alt-del in Debian will cause the system to reboot (or the GUI may bring up a dialog).

If the preference is to have this shut down the system instead, the relevant line in /etc/inittab is changed from:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
Senior Member
Posted in Uncategorized
Views 854 Comments 0 neonsignal is offline

Understanding RAII (Resource Acquisition Is Initialization) - C++

Posted 06-14-2012 at 01:45 AM by TheIndependentAquarius
Updated 10-09-2012 at 02:44 AM by TheIndependentAquarius

  • Q: What is an exception safe code?
    A: A code may throw an exception but at the same time if it:
    • Doesn't allow any memory (allocated by it) to be leaked.
    • Lets the program to remain in a well-defined state (no dangling pointers
      and all) so that execution can continue as intended.
    • Reports the error to the caller (when encountered).
    then it can be termed as an exception safe code.

    Of course, a code which won't be throwing any exception ever is an exception
Senior Member
Views 1436 Comments 0 TheIndependentAquarius is offline

Put a Hold on that Newegg Boycott

Posted 06-13-2012 at 11:48 AM by Skaperen

It seems Newegg was quick to deal with the situation they had, which was reported yesterday, regarding a rejection of return of a computer that had Linux installed on it.

I'm still concerned about their procedures for wiping off used data storage devices before reselling them to customers, inside a computer or not.
Senior Member
Posted in Uncategorized
Views 552 Comments 0 Skaperen is offline


Posted 06-13-2012 at 05:52 AM by rich_c

With The Linux Foundation gaining Samsung as a Platinum supporter, it occurred to me that it's pretty unique how Linux in particular and Free software in general allows all sorts of individuals and organisations to get together productively. Just look at the list of contributors to the Linux kernel and the different organisations involved with The Document Foundation for a couple of examples.
Posted in Uncategorized
Views 849 Comments 0 rich_c is offline

Raspberry Pi - Info on Web

Posted 06-13-2012 at 03:38 AM by markyd
Updated 10-16-2013 at 05:33 AM by markyd (Update)

16th October 2013

Have I not updated this for over a year? OMG where does time go? So little time for projects :-(
A good place to start for all things to do with electrical interfacing is "Adafruit" and they have an excellent tutorial section which starts out very basic and then develops into real techy stuff, a must read.
LQ Newbie
Posted in Raspberry Pi
Views 872 Comments 0 markyd is offline


All times are GMT -5. The time now is 05:42 AM.

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