linux Driven Learning 2-Character Device Driver
Preliminary learning of character device-driven notes.
1. Driver module commands
In linux, when a driver is compiled in a modular mode, it is not directly active as the system starts, but lying quietly in a corner of the kernel, which is not available. Applications that want to invoke the driver must load it before they can use it. There ...
Added by daveeboi on Sun, 26 Sep 2021 19:19:34 +0300
Deep understanding of Linux file system and log analysis
catalogue
1, inode and block overview
1. block
2. inode (index node)
3. inode content
4. cp and inode
5. mv and inode
6. Structure after hard disk partition
7. Simple process of accessing files
8. inode size
9. Special role of inode
2, Hard link and soft link
1. Hard link
2. Soft link
3. The difference between ...
Added by weazy on Sat, 25 Sep 2021 09:01:38 +0300
[punctual atom linux serial] Chapter 59 Linux LCD driver experiment - extracted from [punctual atom] I.MX6U embedded Linux Driver Development Guide V1.0
1) Experimental platform: punctual atom alpha Linux development board 2) Platform purchase address: https://item.taobao.com/item.htm?id=603672744434 2) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-300792-1-1.html 3) Students interested in punctual atomic Linux can add group discussion: 93 ...
Added by chipmunken on Thu, 23 Sep 2021 09:43:02 +0300
Linux+Nginx deployment Vue project (dist file)
Linux+Nginx deployment Vue project (dist file)
Project scenario:
Project scenario: Linux deployment Vue project
Idea:
1. Package the Vue project into dist package 2. Upload dist package to the server 3. Install Nginx 4. Configure Nginx[nginx.conf] 5. Restart Nginx
Operation:
1.1 package dist file:
[problems encountered during pack ...
Added by jd307 on Wed, 22 Sep 2021 19:14:51 +0300
Linux three swordsmen grep
Linux three swordsmen grep
describe
grep – global search regular expression(RE) and print out the line; grep is a text search tool, which can use regular expressions to filter or search text and print matching lines;
Mode of use
Common options
optiondescribe-A <n>Display the filtered text line and the n lines after the line-B ...
Added by dheeraj4uuu on Wed, 22 Sep 2021 18:51:05 +0300
Linux multithreading development
Linux multithreading development
thread
Thread overview
Like a process, a thread is a mechanism that allows an application to execute multiple tasks concurrently. A process can contain multiple threads. All threads in the same program will execute the same program independently and share the same global memory area, including initialize ...
Added by chrisio on Wed, 22 Sep 2021 02:53:14 +0300
Linux gdb debugger
gdb tool is one of the necessary tools to develop under Linux
Generally speaking, gdb mainly helps you complete the following four functions:
1) Start your program, and you can run the program as you like according to your custom requirements.
2) Allows the debugged program to stop at the breakpoint you set. (breakpoints can be conditional e ...
Added by matrixd on Wed, 22 Sep 2021 02:48:33 +0300
Communication mechanism of ROS
Topic communication
Principle of topic communication
Topic communication has three roles:
ROS Master (Manager)Talker (publisher)Listener (subscriber) The Master is responsible for linking publishers and subscribers to publish and subscribe links through the same topic. After the link, the publisher and subscriber can continuously publish ...
Added by rpieszak on Tue, 21 Sep 2021 23:46:13 +0300
About Firewall
Preface
Firewall is just like the Great Wall of China. It is used to protect the people inside the wall from outside malicious invasion. So is the firewall of Linux. It can filter and restrict data packets, which is the package filtering firewall to be explained in this paper.
1. Packet Filtering Firewall
1. Understanding the packet filt ...
Added by BIOSTALL on Tue, 21 Sep 2021 22:24:04 +0300
awk advanced usage
awk
1, Introduction
AWK is a language for processing text files and a powerful text analysis tool.
AWK is called because it takes the first character of the Family Name of the three founders Alfred Aho, Peter Weinberger, and Brian Kernighan.
2, Basic grammar
//awk [options] 'script command' file name
awk [Option parameters] 'script' va ...
Added by scriptkiddie on Tue, 21 Sep 2021 11:41:10 +0300