Skip to main content
Home
Gerald Villorente

Main navigation

  • Home
  • Blog

Breadcrumb

  1. Home

grep

By gerald, 12 April, 2023
command-line

Mastering the Basics and Advanced Usage of the Grep Command with Regular Expressions

The blog post explains the basics of using the grep command, which stands for "global regular expression print," to search for patterns in text files or command output. It covers several examples of using the command to search for lines that match or do not match a pattern, counting matches, and searching for matches in multiple files or compressed files. Additionally, the blog post explores advanced examples of using regular expressions with the grep command to perform more complex searches.

  • grep
  • cli
  • command-line
grep

Recent content

  • Fixing the "Malware Detected" Error in Docker for macOS
  • How to Manage Large Log Files in Go: Truncate a Log File to a Specific Size
  • Taming the Slowpokes: A Guide to Conquering Sluggish MySQL Queries
  • Taming the Slow Beast: Using Percona pt-query-digest to Diagnose MySQL Bottlenecks
  • Speed Up Your Web App: The Ins and Outs of Redis
  • Cherishing the Present: A Timeless Gift for Your Loved Ones
  • Diving Deep: Redis Slowlog vs. Redis MONITOR
  • MSET vs. HSET: Storing Data Efficiently in Redis
  • Installing TP-Link AC600 Wireless Adapter on Manjaro with Realtek RTL8811AU
  • Understanding Variadic Parameters in Go (Golang)
RSS feed

This website is powered by Drupal and Pantheon WebOps Platform.

pantheon