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

  • MSET versus HSET: Storing Data Efficiently in Redis
  • Context Engineering in AI: The Secret Sauce for Better Models
  • AI-Powered PHP-FPM Analysis: Streamlining Troubleshooting with Golang and Gemini AI
  • Scaling Redis for a Blazing Fast User Experience
  • Remote versus On-Site: Finding the Right Balance in the Modern Workplace
  • 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
RSS feed

This website is powered by Drupal and Pantheon WebOps Platform.

pantheon