Linux miscellaneous talk grep

a grep Note: This article is based on ‘man grep, info grep’ combined with ‘actual cases’ Follow-up: Compare the differences between different ‘grep versions’ Emphasis: grep matches the ‘string’ in ‘file’ Supplement: grep uses ‘RER\PCRE’regular style to’function’enhance grep official manual GUN grep ① synax of grep Focus: ‘OPTIONS’, ‘PATTERN’ ② Matcher Selection Matching method selection […]

[Comprehensive explanation of Linux commands] 062. Master the egrep command: a powerful tool for efficiently searching for specified strings in files

Article directory egrep Find the specified string in the file grammar Example Filter comment lines and blank lines Learn `python` from scratch egrep Search for the specified string in the file Additional instructions: The egrep command is used to find a specified string in a file. Its execution effect is similar to grep -E. For […]

[Comprehensive explanation of Linux commands] 076.pgrep command: Find and list qualified process IDs

Article directory pgrep Additional information grammar Options parameter Example Learn `python` from scratch pgrep Find and list qualified process IDs (PIDs) in the currently running process based on the information given by the user Supplementary instructions The pgrep command searches for a process from the running process queue based on its name and displays the […]

[Comprehensive explanation of Linux commands] 071. Tool for quickly searching text content–fgrep

Article directory fgrep Additional information grammar Options Example Learn `python` from scratch fgrep Search files for a text string Supplementary instructions The fgrep command is used to search for lines matching the pattern in the input file specified by the file parameter (default is standard input). The fgrep command specifically searches for the Pattern parameters, […]

[Comprehensive explanation of Linux commands] 074.grep: Powerful text search tool

Article directory grep Powerful text search tool Additional information Options regular expression Common usage of grep command Learn `python` from scratch grep Powerful text search tool Supplementary instructions grep (global search regular expression(RE) and print out the line, comprehensive search for regular expressions and print out the line) is a powerful text search tool that […]

[Comprehensive explanation of Linux commands] 075. Network packet analysis tool ngrep and its application

Article directory ngrep Additional information Install grammar Options Example Learn `python` from scratch ngrep Convenient packet matching and display tool Supplementary instructions The ngrep command is the online version of the grep command, which provides more grep features for searching specified data packets. Because installation of ngrep requires the libpcap library, it supports many operating […]

RHCE–Seventeen, text search tools-grep, regular expressions

RHCE 1. Text search tool-grep 1. Function 2. Format 3. Parameters 4. Pay attention 5. Example 5.1 Operation object file: /etc/passwd 5.2 grep filtering command example 2. Regular expressions 1. Concept 2. Basic regular expressions 2.1 Common metacharacters 2.2 POSIX character classes 2.3 Example 3. Extended regular expressions 3.1 Concept 3.2 Example 3. Homework 1. […]

GreptimeDB cloud automated upgrade practice based on Argo CD and Argo Workflows

Background During the iterative development of GreptimeDB, we encountered some metadata incompatible scenarios, which required downtime maintenance. In order to avoid tedious manual operations, we decided to introduce an automated process to implement the upgrade process. Specifically, we will design corresponding automated processes to ensure the smooth progress of the upgrade process in case of […]