How to Debug C Program using gdb in 5 Simple Steps

by SathiyaMoorthy on March 15, 2010

Earlier we discussed the basics of how to write and compile a C program with C Hello World Program.

In this article, let us discuss how to debug a c program using gdb debugger in 5 simple steps.
(more…)

{ 4 comments }

AWK Arrays Explained with 5 Practical Examples

by Sasikala on March 10, 2010

Awk programming language supports arrays. As part of our on-going awk examples series, we have seen awk user defined variables and awk built-in variables. Arrays are an extension of variables. Arrays are variable that hold more than one value. Similar to variables, arrays also has names. In some programming languages, arrays has to be declared, so that memory will be allocated for the arrays. Also, array indexes are typically integer, like array[1],array[2] etc.,
(more…)

{ 2 comments }

Photo Courtesy: db*photography

Photo Courtesy: db*photography

Ubuntu espeak is a speech synthesizer for English (and several other languages) which will convert text to speech.

You can straight away execute espeak command on your Ubuntu machine without any installation or configuration.

In this article, let us review 8 examples of espeak command.

(more…)

{ 4 comments }

Similar to our on-going Unix Sed and Unix Awk series, we will be posting several articles on Bash scripting, which will cover all the bash scripting techniques with practical examples.

Shell is a program, which interprets user commands. The commands are either directly entered by the user or read from a file called the shell script.
(more…)

{ 5 comments }

30 Things To Do When you are Bored and have a Computer

by Ramesh Natarajan on March 1, 2010

  1. Read technical blogs – There are several technical blogs out there, that produce high quality content everyday. There are 9600+ technology blogs listed in the technorati website. Browse the technology blog list and read the blogs that interests you. As always you can browse our blog archive section for Linux related articles that you might have missed.
  2. (more…)

{ 15 comments }

Linux Awk For, While Loop ExamplesThis article is part of the on-going Awk Tutorial Examples series. In our earlier awk articles, we discussed about awk print, awk user-defined variables, awk built-in variables, awk operators, and awk conditional statements.

In this article, let us review about awk loop statements – while, do while, for loops, break, continue, and exit statements along with 7 practical examples.
(more…)

{ 1 comment }

Photo courtesey: Jessica Finson

Photo courtesy: Jessica Finson

A while back we tried to customize unix prompt to look like Angelina Jolie.

Oh boy, didn’t I fail miserably in that attempt? Well, that didn’t stop me from trying an extreme makeover for mysql> prompt.

Let us face it. The following mysql> prompt is boring. Nobody wants to see it. Let us change the default mysql> prompt to something functional and useful.
(more…)

{ 5 comments }

Linux Awk Tutorials - Conditional If Else Statement ExamplesThis article is part of the on-going Awk Tutorial Examples series. In our earlier awk articles, we discussed about awk print, awk user-defined variables, awk built-in variables, and awk operators.

In this awk tutorial, let us review awk conditional if statements with practical examples.
(more…)

{ 4 comments }