Linux System Programming course

 

Linux System Programming
A complete chapter-by-chapter study guide covering kernel, shell, filesystem, processes, IPC, signals, threads, and advanced Linux topics with 50+ interview questions.
6Chapters
20+Topics
50+Interview Q&As
§2.1–2.19Sections

About This Guide

This guide is based on fundamental Linux system programming concepts. Each chapter explains core topics clearly, includes real code examples, and ends with interview questions. Whether you are preparing for a job interview or deepening your Linux knowledge, this guide covers everything from the kernel core to advanced IPC and threading.

Topics Covered

Linux KernelSystem Callsbash ShellUsers & GroupsFilesystemFile PermissionsProcessesfork() & exec()Memory LayoutShared LibrariesPipes & FIFOsSocketsSemaphoresSignalsPOSIX ThreadsMutex & DeadlockSessions/proc FilesystemRealtime Linux

All Chapters

Chapter 01 — The Linux Kernel & OS Fundamentals

What the kernel is, its seven core tasks (scheduling, memory, filesystem, processes, devices, networking, syscall API), kernel mode vs user mode, and how processes interact with the kernel.

Kernel TasksUser Mode vs Kernel ModeSystem CallsProcess vs Kernel View

Read Chapter 01 →

Chapter 02 — Shell, Users & Groups

The major Unix shells (sh, csh, ksh, bash), login shells, the /etc/passwd and /etc/group files explained field by field, UIDs, GIDs, shadow passwords, supplementary groups, and the root superuser.

bash/etc/passwdUID & GIDShadow Passwordroot (superuser)

Read Chapter 02 →

Chapter 03 — Filesystem & I/O Model

The single directory hierarchy, all seven file types, hard links vs symbolic links, absolute vs relative pathnames, file permissions (rwx), file descriptors (stdin/stdout/stderr), and universality of I/O.

Hard LinksSymbolic Linksrwx PermissionsFile Descriptorsstdio Library

Read Chapter 03 →

Chapter 04 — Processes, Memory & Libraries

The process lifecycle, four memory segments (text/data/heap/stack), fork() with copy-on-write, exec(), process credentials (RUID/EUID/SUID), Linux capabilities, init process, daemons, mmap(), and static vs shared libraries.

fork() & exec()Memory LayoutCopy-on-WriteCapabilitiesDaemonsShared Libraries

Read Chapter 04 →

Chapter 05 — IPC, Signals & Threads

All seven IPC mechanisms (pipes, FIFOs, sockets, file locking, message queues, semaphores, shared memory), signals as software interrupts, signal handlers and async-signal safety, and POSIX pthreads with mutexes and condition variables.

Pipes & FIFOsSocketsShared MemorySignalspthreadsMutexDeadlock

Read Chapter 05 →

Chapter 06 — Advanced Topics + Master Interview Q&A

Process groups, sessions, controlling terminals, daemonisation, pseudoterminals, CLOCK_MONOTONIC, client-server architecture, POSIX realtime extensions, /proc virtual filesystem — plus a complete interview question bank covering all chapters.

Process GroupsSessionssetsid()CLOCK_MONOTONIC/proc FilesystemRealtime

Read Chapter 06 →

Ready to Start?

Start with Chapter 01 or jump to the Master Interview Q&A in Chapter 06.

Start Chapter 01 Master Interview Q&A

Leave a Reply

Your email address will not be published. Required fields are marked *