Difference between Spinlock and Semaphore

Spinlocks Spinlocks assume the data you are protecting is accessed in both interrupt-handlers and normal kernel code. … Read more

How to identify IP Address’s of all devices in a network ?

Sometimes someone from within your network starts consuming lot of bandwidth and you just needed to identify … Read more

Difference between Mutex and Semaphore

Besides the better readability, the code for mutex is smaller and slightly faster than the semaphore implementation. … Read more

What is Zombie process and How to create zombie process in Linux ?

Zombie process is the process which died immediately and whose parent didn’t cared to handled the status … Read more

How to encrypt directory in Linux using Encfs ?

EncFS creates a virtual encrypted filesystem which stores encrypted data in the rootdir directory andmakes the unencrypted … Read more

How to install latest version of Node JS on Ubuntu ?

If you want to install node.js which is gaining popularity in recent days, you can follow below … Read more

How to install specific Node JS version on Ubuntu ?

To install specific version of Node JS, first make sure NPM package manager is installed. You can … Read more

How to Identify which process keeps port busy on android / Linux ?

Lets say you are trying to do something with UPNP which reserves port 1900 for all of … Read more

How to Compile and Install device-tree-compiler (DTC) On Ubuntu ?

If you want to install device-tree-compiler i.e. dtc command on Ubuntu, use following command, This command will … Read more

dpkg

How to find list of installed files from a package in Linux ?

Recently we installed one package, but couldn’t understood which all files it installed on Ubuntu. You can … Read more

How to find the package that provides a file in Ubuntu ?

If you want to identify some binary belongs to which package in Ubuntu in certain situations when … Read more

C program to read mac address using WiFi interface name

If you need to get the mac address of certain wifi interface using C program, you can … Read more