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.

>> Find Binary Files in a Directory

>> Check if a Bash Array Contains a Value

>> How to Monitor All Login Attempts in Linux

>> Using find to Get the Number of Occurrences of Text Patterns and Files

>> Extract Text Between Two Specific Characters in the Command Line

>> Finding Duplicate Files With the Same Name

>> How to List Files Not Matching a Given String in the Filename

>> How to Find the “n” Most Frequent Words in a File

>> How to Find Lines Exceeding a Certain Length in a File

>> Finding Strings From Binary Files in Linux

  • «
  • ← Previous
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 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