The Baeldung logo
  • The Baeldung LogoLinux SublogoLinux Sublogo
  • Start Here
  • Guides ▼▲
    • Administration

      A collection of guides on Linux system administration

    • Scripting

      Basic and advanced scripting on Linux.

    • Networking

      The building blocks for machine-to-machine communication

    • Files

      Deep dive into working with Files on Linux.

    • Processes

      Learn about managing Linux processes and threads

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

  • Category upFiles
  • Category upFile Searching
  • Category upText Processing
  • Category upScripting
  • Category upSearch
  • Category upFile Viewing
  • Category upProcesses
  • Category upFile Editing
  • Category upPackage Management

Tag: grep

Through the guides below, learn how to search for patterns in text and files using the grep command in Linux.

>> Checking the Validity of an IP Address in Linux

>> How to Find the Position of a Character in Text

>> How to Print the Line Numbers of Files That Are Searched Through

>> How to Grep From the End of a File to the Beginning

>> How to Store Standard Error Messages in a Linux Variable

>> How to List Files by Type With ls

>> How to grep Lines Containing N Digits or Numbers

>> How to Find “n” Consecutive Characters in Text

>> Searching for Patterns in Binary Files

>> How to Count the Number of Matching Patterns Using awk

  • «
  • ← Previous
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • Next →
  • »
The Baeldung logo

Categories

  • Scripting
  • Installation
  • Search
  • Web
  • File Editing
  • File Searching
  • File Conversion
  • Docker

Series

  • Linux Administration
  • Linux Scripting Series
  • Linux Files
  • Linux Processes
  • Linux Networking Tutorials
  • Linux Filesystem Guide
  • Linux Security

About

  • About Baeldung
  • Baeldung All Access
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo