C Program to Execute Linux Commands

Following program shows how you can run some Linux commands from C program using C library API … Read more

C program to read file properties using stat() function

Stat for file information

Stat system call in Linux return information about a file, in the buffer pointed to by buf. … Read more

How to setup Local Area Network (LAN) using switch on Ubuntu ?

LAN

Setting up LAN using switch is required if we don’t have the router but still we want … Read more

Understanding wireless beacon packet ( captured using pcap API’s )

As per Wikipedia, Beacon frame is one of the management frames in IEEE 802.11 based WLANs. It contains all the … Read more

How to disable and / or enable ICMP ping from Linux host ?

To disable the ICMP ping from certain Linux host, lets say which has IP of 192.168.0.100 use … Read more

How executable is created during compilation on Linux ?

This code is tested on Ubuntu . You may need to twick the script if you use a … Read more