LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Debugging C Programs Using GDB (Including core dumps!)

Posted 12-01-2015 at 02:32 PM by rtmistler
Updated 12-07-2015 at 07:34 AM by rtmistler

The added (including core dumps!) to my title is actually the main reason for me deciding to write this entry.

So very many times I see new programmers who write something, it compiles, so they run it, and then they are stumped because their programming resulted in a segment violation and possibly a core file. And now they're stuck, not knowing why this occurred and also having no real idea how to proceed.

Background - What Likely Led to This State/Situation
...
Senior Member
Views 1901 Comments 0 rtmistler is offline
Old

LQ Questions of ... Question

Posted 07-23-2015 at 02:50 PM by rtmistler
Updated 07-27-2015 at 07:20 AM by rtmistler

In volunteering to monitor LQ questions, I'm looking at new questions that are incomplete or just bad questions.

These are my notes intended to submit to Jeremy once this monitor period has progress sufficiently.

Update 7/27/15 - Stopping this activity. Conclusions + follow-up (some shown within) Due to my time requirements this week I likely will not have sufficient time to keep pace as I did a few days last week. Not all the questions were ideal for the canned response....
Senior Member
Posted in LQ Information
Views 1250 Comments 15 rtmistler is offline
Old
Rating: 2 votes, 5.00 average.

Adding [code][/code] tags to your posts

Posted 12-02-2014 at 06:23 AM by rtmistler
Updated 01-07-2015 at 06:49 AM by rtmistler

In LQ it is beneficial to use [code][/code] tags around your code.

All you need to do is to border your code with the [code][/code] tags and the result will appear as following:
Code:
#include <stdio.h>

int main()
{
 ...
}
Do I have to type the tags in, or are there widgets to help me with this?
In Advanced edit mode the # (number sign) icon will assist you with this, it will add tags around selected text, or add tags where you can then type...
Senior Member
Posted in LQ Information
Views 566 Comments 0 rtmistler is offline
Old

Logrotate - Not Just for the System

Posted 05-13-2014 at 01:26 PM by rtmistler
Tags logrotate

I've seen a few threads about logrotate. Two thread types I've noticed are:
  1. Persons not understanding logrotate and how to use it
  2. Persons not happy with logrotate and it's normal means of operation - mainly because they'd like to use it for something other than the system log files.
My intentions here are to cover the second case however I will start describing a bit about logrotate and how to use it. So those who are new to logrotate and seeking some guidance, the general overview section...
Senior Member
Views 840 Comments 0 rtmistler is offline
Old
Rating: 2 votes, 5.00 average.

Bash Scripting for Dummies and Geniuses

Posted 11-20-2013 at 09:18 AM by rtmistler
Updated 02-23-2016 at 08:42 AM by rtmistler

One only need look at LinuxQuestions.org to notice the great amount of script (and code) questions and varieties of comments to realize that we all have varying opinions about bash programming.

Many questions are very complicated, as are the resulting answers and script recommendations. I've noticed that two fundamental points are invariably overlooked by the questioners, and many of the comments:

Quote:
"All programming is the use of simple operations to solve complex problems
...
Senior Member
Posted in Bash Scripting
Views 1560 Comments 3 rtmistler is offline

  



All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration