THE SOFTWARE SHOP
GIVEAWAY

E-book: Linux System Programming Techniques

w_pacb147 packt Linux System Programming Techniques ebook review download1

w_pacb147 packt Linux System Programming Techniques ebook review download1

Become a proficient Linux system programmer using expert recipes and techniques. Get this ebook: “Linux System Programming Techniques” for free!

Linux system programming is all about developing system programs for the Linux operating system. Linux is the world’s most popular open-source operating system and runs on everything from big servers to small Internet of Things (IoT) devices. Knowing how to write system programs for Linux will enable you to extend the operating system and connect it with other programs and systems.

In this ebook, we will start by learning how to make our programs easy to script and easy to interact with other programs. When we write system programs for Linux, we should always strive to make them small and do one thing only—and do it well. This is one of the key concepts in Linux: to create small programs that can exchange data with each other in simple ways.

As we move ahead, we’ll take a deep dive into C and look at how the compiler works, what the linker does, how to write Makefiles, and much more.Then, we’ll learn all about forking and daemons. We’ll also create our own daemon. We will then put our daemon under systemd’s control. This will enable us to start, stop, and restart the daemon using built-in Linux tools.

We will also learn how to make our processes exchange information using different kinds of Inter-Process Communication (IPC). We’ll also take a look at how to write threaded programs.

At the end of this book, we’ll cover how to debug our programs using the GNU Debugger (GDB) and Valgrind. By the end of this book, you’ll be able to write a wide variety of system programs for
Linux—everything from filters to daemons.

Who this book is for

This Linux System Programming Techniques e-book is intended for anyone who wants to develop system programs for Linux and wants to have a deep understanding of the Linux system. Anyone facing any issues related to a particular part of Linux system programming and looking for some specific recipes or solutions can take advantage of this book.

What this book covers

To get the most out of this book

To get the most out of this book, you’ll need a basic understanding of Linux, some basic commands, be familiar with moving around the filesystem, and installing new programs. It would help if you also have a basic understanding of programming, preferably the C language.

You will need a Linux computer with root access—either via su or sudo—to complete all the recipes. You’ll also need to install the GCC compiler, the Make tool, GDB, Valgrind, and some other smaller tools. The particular Linux distribution doesn’t matter that much. There are installation instructions in the book for these programs for Debian, Ubuntu, CentOS, Fedora, and Red Hat.

Linux has been around for many years, but it’s only recently that the operating system has become popular in the business world. In this ebook you will learn how to create programs on top of Linux, as well as how to install new packages or fix old ones. You will also learn about security issues with your code and how to prevent them from happening again in the future!

Exit mobile version