Category: linux

An efficient system setup for Linux programmer – part 2

We discussed the skeleton of the setup in Part 1. This post talks of the applications and utilities that would salvage your soul and make you feel blessed of FOSS. As I am a programmer, we will strictly talk of generic development application. Gnome Connection Manager: If you know about “putty”, still read on. It…

An efficient system setup for Linux programmer – part 1

A Linux software developer has plenty of development environment choices. But situation becomes complicated with a corporate IT policy that forces us to use Windows. And, I say not. So what to do? Here I’m sharing the best lot of my experience: Keep your Windows setup untouched Most of us get Windows PC from our…

Android OS: Google DVM and Virtual machines

Published in LinuxForYou, Jun 2011 Abstract With the outburst of heterogeneous systems, the need for a scalable software system is very much required without compromising the cost of development and maintenance of the software. Virtual machine (VM) provides abstraction from the heterogeneity and presents a low cost and scalable software development environment. VM based modern…

How tail -f work?

“tail -f” is a special command in a way that it polls the specified file for any change and prints the new stuff on the fly. It is very helpful in observing logs and any event based data. Ever wondered how tail achieves this? “tail” opens the given file and obtains the file-descriptor. It opens…

Uninterrupted Linux session : screen command

Have you ever faced losing connections to a remote machine (e.g. from a putty) and you happened to be in middle of a script that took ten hours to complete. So what would you do?? Restart the script after re-connecting. Not anymore… Linux screen solves this problem with providing a terminal that runs on server…

>Running Ubuntu 9.10 Casper On your PC

>A complete solution: Image Writing to Installation Ubuntu is a free open source Linux distribution, primarily for desktop users. There are many reasons to use Ubuntu instead of other Linux distro(Just Google for it). I am assuming that reader is an Ubuntu user on a x86 system and knows some stuff about Linux. o) First…

Mutex v/s Semaphore v/s Spinlock

Similarity – All of these are used for synchronization Difference Mutex provides one person to access a single resource at a time, others must wait in a queue. Once this person is done, the guy next in the queue acquires the resource. So access is serial, one guy after another. There is a context switch…

Careful with both hands while using the fork!

fork() is one of the most useful features of C/Linux/UNIX. But it’s like a double edged sword, so be careful with fork 🙂 Of late, I got stuck in a weird problem with one of the client application(A) that interacts with another application(B). Application A was hanging when used application B; otherwise alone A runs…