Welcome to SoftPrayog.in

What's new
I/O multiplexing with select, poll and epoll
I/O multiplexing: select, poll and epoll in Linux
I/O multiplexing is the the ability to perform I/O operations on multiple file descriptors. select and poll calls and the epoll API help in I/O multiplexing.
Signals with info
POSIX real-time signals in Linux
POSIX real-time signals add to the functionality of standard signals in Linux. POSIX real-time signals can be queued to a process.
Temporary file
How to create a temporary file in Linux
mkstemp and tmpfile functions are used for creating temporary files.
Server and clients
Interprocess Communication using Unix Domain Sockets
Unix domain sockets provide a fast and easy to use mechanism for interprocess communication.
Hard disk
File I/O in Linux
System calls for I/O operations in files. Also, synchronized I/O flags and calls are covered.
Files in LInux
Files in Linux
Files is a central concept in Unix systems. Files keep the all important data and provide a foundation for computing.
Raspberry Pi 4B display
Connecting display to Raspberry Pi 4B
How to connect a 7" touchscreen display to Raspberry Pi 4B and boot the system.
Featured
POSIX message queues
POSIX message queues in Linux
POSIX message queues provide a fast and easy mechanism for interprocess communication (IPC) in Linux.
POSIX shared memory
POSIX Shared Memory in Linux
Shared memory is the fastest method of interprocess communication in Linux systems.
POSIX semaphores
POSIX Semaphores in Linux
POSIX Semaphores are used for process synchronization.
D-Bus
D-Bus Tutorial
D-Bus is a mechanism for interprocess communication under Linux and other Unix-like systems.
htop
htop command in Linux
htop is a ncurses based program for viewing processes in a system running Linux.
Server and clients
Socket programming using the select system call
Socket programming calls using the Client Server paradigm and example programs are given.
fork and exec in Linux
fork and exec system calls in Linux
The fork system call creates a new child process. The child process uses an exec call to run a program.
Tutorials
In a nutshell
Bash Scripting Tutorial
How to write bash scripts for repetitive tasks.
sed
Sed command in Linux
sed applies the commands on each line of input and writes the resulting lines on standard output.
Software Configuration Management
Git Tutorial
Git is a software source code control system.
logs
logrotate: manage log files
logrotate is a utility for rotation, compression, removal and mailing of log files.
firewall
iptables command in Linux
The iptables command is for defining rules for packet filtering for establishing and configuring firewalls in Linux.
Synchronize
rsync
rsync is a one-way file synchronization tool used in Linux and other Unix-like systems.
awk
Awk Tutorial
awk takes the input and gives output after matching desired patterns and doing processing linked to matched patterns.
Programming
Two processes connected with a pipe
Pipes in Linux
Pipes can be used to connect standard output of a process to the standard input of a related process.
Interprocess communication using fifo
FIFOs in Linux
FIFOs are named pipes. Any two processes can communicate using a FIFO.
Message queue
System V message queues in Linux
System V message queues provide a mechanism for inter process communication (IPC) in Linux and other Unix-like systems.
Semaphore
System V Semaphores in Linux
System V semaphores are kernel managed objects that help in synchronization of processes.
Server and clients using shared memory
Interprocess communication using System V Shared Memory in Linux
System V shared memory is a fast inter process communication (IPC) mechanism available in Linux and other Unix-like systems.
Pthreads
POSIX Threads Synchronization in C
POSIX Threads provide multiple flows of execution within a process.
Client server system
Socket Programming using TCP in C
A socket is a network communication end point at a host. Processes communicate over sockets.