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

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

dpkg

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

What is Linux Out-Of-Memory OOM Killer ?

Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more

How to avoid a process from being killed in case of Out of Memory ?

In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more

How to avoid zombie process in Linux ?

Zombie process is the process which dies/finishes immediately and whose parent didn’t cares to handle the status … Read more

How to create process in Linux using fork system call ?

Below is simple process creation program using fork system call, fork return child’s process Id in main/parent … Read more

Send and Receive (Transfer) integer over socket using C program

Following the simple example which shows how we can send and receive an integer over a socket. … Read more

C program to check total and free RAM memory in Linux

Following C program helps you to identify what is the total and free memory / RAM available … Read more