sed command collation in Linux

Here is a simple knowledge combing of LInux sed command. On the one hand, in order to consolidate the knowledge they have learned, on the other hand, I hope to help other small partners who are learning Linux. sed (English: stream editor) stream editor Text files can be processed and edited according to script instructions. Its main purpose ...

Posted by hawnted on Thu, 27 Jun 2019 11:25:29 -0700

Modle_init and Modle_exit Principles of Kernel Modules

Preface When we develop a kernel driver, we are actually developing a module of the kernel. Any module will have an initialization load function and an uninstall function. When are they called? What's the difference between calling modules in static link form and dynamic load form? This article will answer these questions. Any kernel module h ...

Posted by quintus on Wed, 26 Jun 2019 12:12:32 -0700

MongoDB(1) Install, Start and Connect to shell

MongoDB Installation and Startup 1. Installation 1.1 windows Edition click https://www.mongodb.com/download-center?jmp=nav#community Download the msi file on the mongodb official website. Double-click to run it. There is nothing to explain. 1.2 Linux Edition curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.3.tgz # ...

Posted by latinofever on Wed, 26 Jun 2019 11:58:44 -0700

IPC message queue

I. What is a message queue Message queue: Message queuing provides a way to send a data block from one process to another. Each data block is considered to have a type. The data block received by the recipient process can have different type values. We can avoid the synchronization and blocking problems of named pipes by sending messages. So ...

Posted by coelex on Tue, 25 Jun 2019 15:14:13 -0700

Linux special permission set_uid

Special permission set_uidBy default, under the newly installed Linux system, only one command has set_uid special privileges.Commands (files) with s privileges: To ensure that non-owner users have temporary ownership when using this command; set_uid special privileges for a file, provided that the file is an executable binary file (usually wit ...

Posted by dkjohnson on Sun, 23 Jun 2019 16:25:05 -0700

Installation and description of mysql report monitoring tool

mysql report displays mysql status changes in a friendly way. In fact, it reports almost all the states. Unlike show status, which only shows more than 100 state values, mysql report interprets and formats these state values in a humane way, greatly increasing their readability. The advantage of MySQL report is that it can quickly view variou ...

Posted by jackthebookie on Sun, 23 Jun 2019 15:28:10 -0700

MySql Installation and Use Instructions

MySql database installation network has more than N, following the blogger's personal test installation and steps are as follows. This article mainly uses non-compiled single instance installation. 1. Check and clear the original mysql in the system [root@localhost~] # rpm-qa | grep mysql checks mysql in the system &nbps;&nbp ...

Posted by rooky on Sun, 23 Jun 2019 15:12:51 -0700

Shell programming from beginnings to proficiency - Chapter 2. shell variables

Shell variables2.1. What is a VariableIn elementary school, we learned mathematical equations, such as: what is y equal to when x = 1 and y = x + 1 are known? In the above topics x and y are called unknowns, but in shell programming they are variable names, and 1 on the right of the equal sign and x+1 are variable contents. "=" i ...

Posted by szms on Sat, 22 Jun 2019 16:10:02 -0700

Android Zygote Startup Process Source Resolution

The Zygote process is Android and Java The founder of the world.stay android In the system, all application processes and SysteemServer processes come from the Zygote process fork.Its importance can be seen here.Although the Zygote process is equivalent to the root process of the Android system, in fact it is also the root process of the Androi ...

Posted by mraiur on Sat, 22 Jun 2019 09:44:42 -0700

Explanation of Serial Communication under Linux (Part I) Explanation of Opening Serial Port and Initialization of Serial Port

Linux Lower serial communication mainly includes the following steps Flow chart of serial communication I will introduce these steps one by one. 1. Open the serial port Code (serial port is ttyUSB0) //Open Serial Port   int open_port(void)   {       int fd;                  fd=open("/dev/ttyUSB0 ...

Posted by frijole on Fri, 21 Jun 2019 14:32:16 -0700