Operating System Concepts
Understanding Linux page cache memory
If data is written, it is first written to the Page Cache and managed as one of … Read more
Understanding filesystem presence for a simple C program when executing
In our last two posts, we tried to learn writing of a very minimal simple C program … Read more
Sending ARP request and receiving ARP Reply using C code
This post is in continuation of our previous post “Understanding ARP (Address Resolution Protocol) basics“ To visualise … Read more
Understanding Linux Signals with simple C program
Signals are a limited form of inter-process communication (IPC), typically used in Unix, Unix-like, and other POSIX-compliant … Read more
Identify / Test file types in Linux using C program stat API
The file mode, stored in the st_mode field of the file attributes, contains two kinds of information: … Read more
C program to monitor and notify changes in a directory / file using inotify
Sometime we need to monitor some directory or file for some changes in it and based on … Read more
Capture and analyze network packets using tcpdump and tshark
We can use tcpdump to capture the packets whereas tshark to analyse the packets. Using above help, … Read more
Send data using http POST from client and receive response from server using netcat over specific port
We create a server using netcat command which listens on 8909 port as below, This server responds … Read more
Understanding ARP (Address Resolution Protocol) basics
The MAC address is how machines on a subnet communicate. When machine A sends packets to another … Read more