Tag

grep

1 views collected around this technical thread.

DevOps Operations Practice
DevOps Operations Practice
Sep 9, 2024 · Fundamentals

Comprehensive Guide to Using grep: Basic Syntax, Common Options, and Advanced Techniques

This article provides a detailed tutorial on the Linux grep command, covering its basic syntax, frequently used options such as case‑insensitive search, line numbers, recursive search, context lines, and advanced features like regex patterns, file inclusion/exclusion, multiple patterns, and handling large files.

Command-linegreplinux
0 likes · 5 min read
Comprehensive Guide to Using grep: Basic Syntax, Common Options, and Advanced Techniques
Java Architect Essentials
Java Architect Essentials
May 15, 2024 · Operations

Quick Techniques for Locating Errors in Large Log Files Using Linux Commands

This article demonstrates several efficient Linux command‑line methods—including tail, head, grep, sed, and pagination tools—to quickly pinpoint error entries, view surrounding context, filter by time range, and count occurrences within massive log files.

Log AnalysisShell Commandsgrep
0 likes · 12 min read
Quick Techniques for Locating Errors in Large Log Files Using Linux Commands
DataFunSummit
DataFunSummit
Dec 10, 2021 · Fundamentals

Mastering the Linux Trio: Practical Grep, Sed, and Awk Techniques

This tutorial introduces the three essential Linux text‑processing tools—grep, sed, and awk—explains their core options and syntax, and provides concrete command‑line examples so readers can quickly improve file‑handling efficiency and operational productivity.

Command-lineawkgrep
0 likes · 16 min read
Mastering the Linux Trio: Practical Grep, Sed, and Awk Techniques
Practical DevOps Architecture
Practical DevOps Architecture
Nov 26, 2020 · Fundamentals

Understanding awk, grep, and sed: The Three Essential Linux Text‑Processing Tools

This article introduces the three fundamental Linux text‑processing utilities—awk, grep, and sed—explaining their distinct purposes, core functionalities, and typical usage scenarios for searching, editing, and formatting text in command‑line environments.

Shellawkgrep
0 likes · 4 min read
Understanding awk, grep, and sed: The Three Essential Linux Text‑Processing Tools
Efficient Ops
Efficient Ops
Mar 29, 2020 · Fundamentals

Master Linux Regex: Practical grep Examples for Powerful Text Search

This guide explains regular expressions and their metacharacters in Linux, shows how to configure grep with color, creates a sample text file, and provides numerous practical grep commands demonstrating pattern matching, character classes, quantifiers, and grouping for effective text processing.

Shellgreplinux
0 likes · 9 min read
Master Linux Regex: Practical grep Examples for Powerful Text Search
Efficient Ops
Efficient Ops
Oct 13, 2019 · Fundamentals

Master Essential Linux Shell Text Processing Tools: find, grep, awk, and More

This article provides a comprehensive guide to the most frequently used Linux shell text‑processing utilities—find, grep, xargs, sort, uniq, tr, cut, paste, wc, sed, and awk—offering practical examples, command‑line options, and tips for efficient one‑ or two‑line scripts.

Command-lineShellawk
0 likes · 19 min read
Master Essential Linux Shell Text Processing Tools: find, grep, awk, and More
Efficient Ops
Efficient Ops
Jan 14, 2019 · Operations

Master Essential Linux Shell Tools: find, grep, awk, and More

This guide presents a comprehensive overview of the most frequently used Linux shell utilities for text processing—such as find, grep, xargs, sort, uniq, tr, cut, paste, wc, sed, and awk—offering practical examples, key options, and best‑practice recommendations for efficient command‑line workflows.

Command-lineShellawk
0 likes · 17 min read
Master Essential Linux Shell Tools: find, grep, awk, and More
360 Quality & Efficiency
360 Quality & Efficiency
Sep 7, 2016 · Operations

How to Use a Python Script to Highlight Log Keywords in the Terminal

This guide explains how to set up and use a Python script that highlights specified log keywords with colors in the terminal, including configuring the script, adding aliases in .zshrc or .bashrc, piping command output through the script, and tips for grep buffering and Python line reading.

BashPythonTerminal
0 likes · 4 min read
How to Use a Python Script to Highlight Log Keywords in the Terminal
Practical DevOps Architecture
Practical DevOps Architecture
Apr 8, 2016 · Operations

Extracting System Configuration Using Linux Commands

This tutorial explains how to capture IP addresses, filter empty lines, count regular files in /bin, copy the inittab file, and count non‑comment configuration lines on a Linux host using standard shell commands such as ifconfig, grep, ls, cp, and wc.

BashShellSystem Configuration
0 likes · 4 min read
Extracting System Configuration Using Linux Commands
Qunar Tech Salon
Qunar Tech Salon
Mar 23, 2016 · Operations

Using grep with Regular Expressions on Linux and Unix Systems

This guide explains how to use the GNU grep tool on Linux and Unix to perform powerful text searches with basic and extended regular expressions, covering pattern matching, character classes, wildcards, logical operators, quantifiers, output formatting, and differences between grep and egrep.

Command-lineSearchgrep
0 likes · 10 min read
Using grep with Regular Expressions on Linux and Unix Systems
Baidu Tech Salon
Baidu Tech Salon
Jan 16, 2015 · Fundamentals

The History and Origins of the Unix grep Command

The Unix grep command, created by Ken Thompson before the fourth edition of Unix and named after the ed editor’s “g/re/p” syntax, first appeared in Version 4, later expanded by Al Aho into egrep and fgrep, and was popularized through the GNU and BSD implementations, illustrating Unix’s collaborative evolution.

Command-lineUnixgrep
0 likes · 9 min read
The History and Origins of the Unix grep Command