Category Archives: Linux Development

This category of articles or tutorials would contain content related to software development on Linux.

New To Programming? Say Hello To Memory Corruption

Every process in any operating system would use memory to store its code and data. Same is the case with processes in Linux. However, the onus is on the programmer to see if the memory is being properly used or not. This is essential, as memory issues lead to copious bugs and bizarre behaviours. As […]

How I used eog utility to pull off a small Linux exploit

Back in 2012, after my article on Linux ELF Virus was published in Linux Journal, I was curious to come up with a trigger point for this virus. I mean what would compel a Linux user to execute it for the very first time? I thought about it many times but could not come up […]

Cscope – A developer’s tool for browsing source code

When we talk about projects in C/C++, or any other programming languages, it is pretty common that as the project advances, the lines of code increases, and hence increases the number of source files in the project. Although, as a developer, it is always intended to make the sources more and more organized, predictable and […]

Anatomy of command line arguments in Linux

While designing a simple C program or a full fledged command line application, it is pretty usual to have a requirement for arguments to be passed while running the executable/application. These arguments are known as command line arguments. These parameters govern the behaviour of the program to some extent, as these are the inputs based […]

Linux time and date functions – A must read for developers

In this pacing world, time plays an important role in every aspect of Life. Even in industries like embedded, automotive etc time plays a very important role. Seems like everyone is working just to minimize this parameter called time. If we talk about software industry, here too, minimising the time complexity is the most prominent […]

Write and compile a basic Loadable Kernel Module for Linux

One of our previous article (here) discusses the concepts and theory of Linux Kernel Modules. We became acquainted with the LKMs as a compiled object code that gets linked to the kernel when loaded and gets unlinked on unloading. Now, its time to delve into the programming part of it i.e. how to develop them. […]