본문 바로가기

리디 접속이 원활하지 않습니다.
강제 새로 고침(Ctrl + F5)이나 브라우저 캐시 삭제를 진행해주세요.
계속해서 문제가 발생한다면 리디 접속 테스트를 통해 원인을 파악하고 대응 방법을 안내드리겠습니다.
테스트 페이지로 이동하기

Linux System Programming Techniques 상세페이지

컴퓨터/IT 개발/프로그래밍 ,   컴퓨터/IT IT 해외원서

Linux System Programming Techniques

Become a proficient Linux system programmer using expert recipes and techniques
소장전자책 정가21,000
판매가21,000
Linux System Programming Techniques 표지 이미지

Linux System Programming Techniques작품 소개

<Linux System Programming Techniques> Find solutions to all your problems related to Linux system programming using practical recipes for developing your own system programs

▶Book Description
Linux is the world's most popular open source operating system (OS). Linux System Programming Techniques will enable you to extend the Linux OS with your own system programs and communicate with other programs on the system.

The book begins by exploring the Linux filesystem, its basic commands, built-in manual pages, the GNU compiler collection (GCC), and Linux system calls. You'll then discover how to handle errors in your programs and will learn to catch errors and print relevant information about them. The book takes you through multiple recipes on how to read and write files on the system, using both streams and file descriptors. As you advance, you'll delve into forking, creating zombie processes, and daemons, along with recipes on how to handle daemons using systemd. After this, you'll find out how to create shared libraries and start exploring different types of interprocess communication (IPC). In the later chapters, recipes on how to write programs using POSIX threads and how to debug your programs using the GNU debugger (GDB) and Valgrind will also be covered.

By the end of this Linux book, you will be able to develop your own system programs for Linux, including daemons, tools, clients, and filters.

▶What You Will Learn
-Discover how to write programs for the Linux system using a wide variety of system calls
-Delve into the working of POSIX functions
-Understand and use key concepts such as signals, pipes, IPC, and process management
-Find out how to integrate programs with a Linux system
-Explore advanced topics such as filesystem operations, creating shared libraries, and debugging your programs
-Gain an overall understanding of how to debug your programs using Valgrind

▶Key Features
-Develop a deeper understanding of how Linux system programming works
-Gain hands-on experience of working with different Linux projects with the help of practical examples
-Learn how to develop your own programs for Linux

▶Who This Book Is For
This book is for anyone who wants to develop system programs for Linux and gain a deeper understanding of the Linux system. The book is beneficial for anyone who is facing issues related to a particular part of Linux system programming and is looking for specific recipes or solutions.

▶What this book covers
- Chapter 1, Getting the Necessary Tools and Writing Our First Linux Programs, shows you how to install the tools we need throughout this book. We also write our first program in this chapter.

- Chapter 2, Making Your Programs Easy to Script, covers how—and why—we should make our programs easy to script and easy to be used by other programs on the system.

- Chapter 3, Diving Deep into C in Linux, takes us on a journey into the inner workings of C programming in Linux. We learn how to use system calls, how the compiler works, how to use the Make tool, how to specify different C standards, and so on.

- Chapter 4, Handling Errors in Your Programs, teaches us how to handle errors gracefully.

- Chapter 5, Working with File I/O and Filesystem Operations, covers how to read and write to files, using both file descriptors and streams. This chapter also covers how to create and delete files and read file permissions using system calls.

- Chapter 6, Spawning Processes and Using Job Control, covers how forking works, how to create a daemon, what parent processes are, and how to send jobs to the background and foreground.

- Chapter 7, Using systemd to Handle Your Daemons, shows us how to put our daemon from the previous chapter under the control of systemd. This chapter also teaches us how to write logs to systemd's journal and how to read those logs.

- Chapter 8, Creating Shared Libraries, teaches us what shared libraries are, why they're important, and how to make our own shared libraries.

- Chapter 9, Terminal I/O and Changing Terminal Behavior, covers how to modify the terminal in different ways—for example, how to disable echoing for a password prompt.

- Chapter 10, Using Different Kinds of IPC, is all about IPC—that is, how to make processes communicate with each other on the system. This chapter covers FIFO, Unix sockets, message queues, pipes, and shared memory.

- Chapter 11, Using Threads in Your Programs, explains what threads are, how to write threaded programs, how to avoid race conditions, and how to optimize threaded programs.

- Chapter 12, Debugging Your Programs, covers debugging using GDB and Valgrind.


출판사 서평

▶ Preface
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.

We'll 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.


저자 소개

▶About the Author
- Jack-Benny Persson
Jack-Benny Persson is a consultant and author based in Sweden. He has written several books about Linux and programming. His passion for Linux and other Unix-like systems started as a hobby more than 20 years ago. Since then, he has spent most of his spare time reading about Linux, tinkering with Linux servers, and writing about Linux administration. Today he has his own IT and media company in Sweden that focuses on Linux.

Jack-Benny holds an Advanced Higher Vocational Education Diploma as a Linux system specialist. He has also studied electronics, networking, and security.

목차

▶TABLE of CONTENTS
-Chapter 1: Getting the Necessary Tools and Writing Our First Linux Programs
-Chapter 2: Making Your Programs Easy to Script
-Chapter 3: Diving Deep into C in Linux
-Chapter 4: Handling Errors in Your Programs
-Chapter 5: Working with File I/O and Filesystem Operations
-Chapter 6: Spawning Processes and Using Job Control
-Chapter 7: Using systemd to Handle Your Daemons
-Chapter 8: Creating Shared Libraries
-Chapter 9: Terminal I/O and Changing Terminal Behavior
-Chapter 10: Using Different Kinds of IPC
-Chapter 11: Using Threads in Your Programs
-Chapter 12: Debugging Your Programs


리뷰

구매자 별점

0.0

점수비율
  • 5
  • 4
  • 3
  • 2
  • 1

0명이 평가함

리뷰 작성 영역

이 책을 평가해주세요!

내가 남긴 별점 0.0

별로예요

그저 그래요

보통이에요

좋아요

최고예요

별점 취소

구매자 표시 기준은 무엇인가요?

'구매자' 표시는 리디에서 유료도서 결제 후 다운로드 하시거나 리디셀렉트 도서를 다운로드하신 경우에만 표시됩니다.

무료 도서 (프로모션 등으로 무료로 전환된 도서 포함)
'구매자'로 표시되지 않습니다.
시리즈 도서 내 무료 도서
'구매자’로 표시되지 않습니다. 하지만 같은 시리즈의 유료 도서를 결제한 뒤 리뷰를 수정하거나 재등록하면 '구매자'로 표시됩니다.
영구 삭제
도서를 영구 삭제해도 ‘구매자’ 표시는 남아있습니다.
결제 취소
‘구매자’ 표시가 자동으로 사라집니다.

이 책과 함께 구매한 책


이 책과 함께 둘러본 책



본문 끝 최상단으로 돌아가기

spinner
모바일 버전