find - file lookup command

Linux system management - find file lookup find overview Why use file lookup Sometimes, we may forget the location of a file. At this time, we need to find it through find. Sometimes, I want to find all files less than 1k in a directory. There are also times when we want to find a file created seven days ago in a directory. There are ...

Added by bryan52803 on Sun, 02 Jan 2022 04:48:17 +0200

linux MISC driver experiment

MISC means mixed and miscellaneous, so MISC driver is also called miscellaneous driver, that is, when we have a driver on the board When some peripherals cannot be classified, MISC driver can be used. MISC driver is actually the simplest character device driver. It is usually nested in platform bus driver to realize complex driver 1, Int ...

Added by Pantho on Sun, 02 Jan 2022 02:34:38 +0200

linux network programming (detailed explanation of getaddrinfo and gethostbyname functions)

1, getaddrinfo Function prototype: int getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res); Function function: according to hints The specified parameter requires that the server be obtained node And store the obtained results in res in Function parameters: node The domain name of the server ...

Added by GSHelpBoy on Sat, 01 Jan 2022 19:00:36 +0200

Linux Network Management

1, Modify network card name Centos6 network card names are eth0, eth1 Centos7 network card names are ens32, ens33 Because this irregular naming method brings difficulties to later maintenance, it is necessary to modify the network card name to eth0, eth1 1. After installing the operating system, modify the naming rule of the network card ...

Added by newbtophp on Sat, 01 Jan 2022 14:06:30 +0200

Kubernetes enables gray and blue-green publishing

1. Deployment strategy in kubernetes In this article, we will learn how to use the Kubernetes container to orchestrate the deployment strategy when the system deploys the container. At the end of this article, we will learn how to deploy in different ways in the Kubernetes cluster. If you find this topic interesting, please read on! The code ...

Added by Haberdasher on Sat, 01 Jan 2022 12:32:16 +0200

POSIX semaphore code analysis in Linux (P/V operation)

POSIX semaphore 1. Basic concepts The logic of POSIX semaphore is exactly the same as that of semaphore elements in IPC semaphore group, but the operation of POSIX semaphore is simpler and the interface is easier to use. It is widely used in multi process and multi thread. POSIX semaphores are divided into two types: POSIX anonymous sema ...

Added by polarbear66 on Sat, 01 Jan 2022 10:41:55 +0200

Linux three swordsmen -- grep command

regular expression preface The reason why regular expressions are introduced is that the grep command will use regular expressions, so they are explained at the beginning 1. What is a regular expression? A regular expression is a way of describing a collection of strings. The representation of regular expressions is the combination of some ...

Added by sandy1028 on Fri, 31 Dec 2021 21:08:51 +0200

[DPDK] dpdk-l3fwd test cases are compiled separately

DPDK-20.11. Version 3 uses meson and ninja for compilation and installation. Refer to the previous process DPDK-20.11.3 in CentOS 8 Compile and run on 4 According to this step, after the compilation and installation is completed, it can be found that the test case executable has been generated in the build/app and build/example directories. At ...

Added by sgoku01 on Fri, 31 Dec 2021 18:32:54 +0200

Chapter 13 - virtual file system

The virtual file system is VFS, and the kernel provides file and file related interfaces. All files in the system not only depend on VFS coexistence, but also rely on VFS coordination. Common file interfaces, including read, write and open, can be used to read files and hard disks. The reason why a unified interface can be used to read an ...

Added by SteveMT on Fri, 31 Dec 2021 17:42:39 +0200

[ROC-RK3568-PC] teach you how to compile Linux_SDK and package builderoot system firmware

๐Ÿ‡ Author home page: Neutionwei ๐Ÿ‡ About the author: ๐Ÿ† New star creator of CSDN embedded field ๐Ÿ‡ Hello, I'm Neutionwei. Welcome to read my article. Before that, I hope you can give me a five-star in a few seconds โญ ๏ธ โญ ๏ธ โญ ๏ธ โญ ๏ธ โญ ๏ธ ๐Ÿ‘‰ Bloggers recently participated in the 2021 blog star campaign. This is a campaign post. Please add ...

Added by twizler on Fri, 31 Dec 2021 15:25:21 +0200