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.

>> How to Remove All Non-numeric Characters From a String in the Shell

>> How to Limit grep Context to “n” Characters in a Line

>> Get a List of Installed Packages Matching a Pattern Using apt

>> How to Extract Rows Based on Specific Values in Columns from Files in Linux Using grep, sed, and awk

>> How to Find Lines Containing Exclusively One of Multiple Words in Linux

>> How to Search the Whole Manual Pages

>> Find Control Characters in a File in Linux

>> How to Find Common Intersecting Lines Between Two Files in Linux

>> grep – How to Output Only the Content of a Capturing Group

>> How to Move the First “n” Files in Linux

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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