Getting started with Linux Programming (15) - process creation and termination

The previous two articles learned the theoretical basis related to process, and this paper began to learn process programming. Introduction to Linux Programming (13) - process (I) Introduction to Linux Programming (14) - process (II) Create process System function fork() Linux provides a system call fork() to create a new process. Its func ...

Posted by teebo on Wed, 29 Dec 2021 17:11:07 +0100

Shell awk command

catalogue 1, Working principle 2, Command format 3, Common built-in variables 4, Output text by line 5, Output text by field 6, Calling shell commands through pipes, double quotes 1, Working principle Read the text line by line. By default, the text is separated by a space or tab key. Save the separated fields to the built-in variable, ...

Posted by Siggles on Wed, 29 Dec 2021 07:12:54 +0100

netty series: come on, teach you how to make a simple proxy server

brief introduction Einstein said: all greatness comes from simple details. netty provides us with such powerful eventloop and channel. Through the effective use of these simple things, we can get very powerful applications, such as the agent to be talked about today. Proxy and reverse proxy I believe that as long as programmers should ha ...

Posted by markmuir on Wed, 29 Dec 2021 01:21:53 +0100

Linux interview questions, classic Linux interview questions, common Linux interview questions with answers

Linux interview questions and answers (version 2022) are suitable for fresh students and experienced programmers. Each is a carefully screened high-frequency interview question to help you find a satisfactory job! Linux Download link: All interview questions and answers PDF 1. How many physical CPUs and the number of cores of each CPU in the ...

Posted by J4rod on Wed, 29 Dec 2021 01:15:19 +0100

Build DNS server in Intranet

Build DNS server in IntranetDNS:Domain Name Service, domain name resolution serviceListening port: udp/53, tcp/53Application: bindRoot domain:Primary domain:Organization domain: com, .org, .net, .mil, .edu, .gov, .info, .cc, .me, .tvCountry domain: cn, .us, .uk, .jp, .tw, .hk, .iq, .irReverse domain: in-addr.arpaDNS record type: the DNS domain ...

Posted by steelmanronald06 on Tue, 28 Dec 2021 19:45:12 +0100

Planning tasks in linux

1, Custom scheduled tasks 1. atd service (one time) 1. Command corresponding to atd service Installation is required before using the at command [root@localhost lianxi]# yum install at -y Then the atd service must be started, otherwise it will not perform tasks regularly [root@localhost lianxi]# service atd start Redirecting to /bin/syst ...

Posted by simplyi on Tue, 28 Dec 2021 19:09:45 +0100

Apache Traffic Server installation configuration

  Introduction Apache Traffic Server (ATS or TS) is a high-performance and modular HTTP proxy and cache server. Traffic Server was originally a commercial product of Inktomi company, which was acquired by Yahoo in 2003. Since then, Traffic Server has been used in Yahoo for up to 4 years until Yahoo submitted it to Apache Software Foundation ...

Posted by sendoh07 on Tue, 28 Dec 2021 03:24:38 +0100

Functions and features of Nginx

Functions and features of Nginx Original 2021-12-22 20:12· Pears smell like milk In the past 10 years, nginx has risen rapidly as a new generation in the Web server industry. Nginx was written by Igor Sysoev, a Russian engineer, and the first public version: 1.0.0 was released on October 4, 2004 1. Apache has always occupied the first ...

Posted by php_coder_dvo on Mon, 27 Dec 2021 23:58:41 +0100

Use Alibaba cloud mirror NTP service to build NTP server (based on CentOS 7 system)

Reference link: Alibaba open source mirror station NTP download installation tutorial 1, NTP server introduction Network Time Protocol Network time protocol (NTP) server, also known as NTP server, is used to provide time synchronization services. In the production environment, many people ignore the time problem. In fact, the time synchronizat ...

Posted by iceraider on Mon, 27 Dec 2021 18:10:36 +0100

Linux awk command details

Linux awk command details 1, awk working principle Read the text line by line. By default, the text is separated by a space or tab key. Save the separated fields to the built-in variable, and execute the editing command according to the mode or condition. The sed command is often used to process a whole line, while awk prefers to divide a l ...

Posted by iovidiu on Mon, 27 Dec 2021 17:26:27 +0100