컴퓨터/IT 개발/프로그래밍 , 컴퓨터/IT IT 해외원서
Linux System Programming Techniques
소장 | 전자책 정가 | 21,000원 |
---|---|---|
판매가 | 21,000원 |
- 출간 정보
- 2021.05.07. 전자책 출간
- 파일 정보
- 3.4MB
- 432쪽
- ISBN
- 9781789959789
- ECN
- -
리디 접속이 원활하지 않습니다.
강제 새로 고침(Ctrl + F5)이나 브라우저 캐시 삭제를 진행해주세요.
계속해서 문제가 발생한다면 리디 접속 테스트를 통해 원인을 파악하고 대응 방법을 안내드리겠습니다.
테스트 페이지로 이동하기
컴퓨터/IT 개발/프로그래밍 , 컴퓨터/IT IT 해외원서
소장 | 전자책 정가 | 21,000원 |
---|---|---|
판매가 | 21,000원 |
<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 점
0명이 평가함
내가 남긴 별점 0.0
별로예요
그저 그래요
보통이에요
좋아요
최고예요
'구매자' 표시는 리디에서 유료도서 결제 후 다운로드 하시거나 리디셀렉트 도서를 다운로드하신 경우에만 표시됩니다.
성인 인증 안내
성인 재인증 안내
청소년보호법에 따라 성인 인증은 1년간
유효하며, 기간이 만료되어 재인증이 필요합니다.
성인 인증 후에 이용해 주세요.
해당 작품은 성인 인증 후 보실 수 있습니다.
성인 인증 후에 이용해 주세요.
청소년보호법에 따라 성인 인증은 1년간
유효하며, 기간이 만료되어 재인증이 필요합니다.
성인 인증 후에 이용해 주세요.
해당 작품은 성인 인증 후 선물하실 수 있습니다.
성인 인증 후에 이용해 주세요.
본문 끝 최상단으로 돌아가기
무료이용권을 사용하시겠습니까?
사용 가능 : 장
<>부터 총 화
무료이용권으로 대여합니다.
무료이용권으로
총 화 대여 완료했습니다.
남은 작품 : 총 화 (원)
Linux System Programming Techniques
작품 제목
대여 기간 : 일
작품 제목
결제 금액 : 원
결제 가능한 리디캐시, 포인트가 없습니다.
리디캐시 충전하고 결제없이 편하게 감상하세요.
리디포인트 적립 혜택도 놓치지 마세요!
이미 구매한 작품입니다.
작품 제목
원하는 결제 방법을 선택해주세요.
작품 제목
대여 기간이 만료되었습니다.
다음화를 보시겠습니까?