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

  • About ▼▲
    • Full Archive

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

    • About Baeldung

      About Baeldung.

Category upFiles

File Searching

Searching for files and searching within files for particular content is a common task of any user on the system. Learn about some of the basic commands to achieve this using various scenarios and examples.

  • grep (46)
  • find (37)
  • awk (22)
  • sed (17)
  • ls (12)
  • xargs (8)
  • regex (6)
  • sort (6)
  • bash (5)
  • perl (4)
  • tree (4)
  • cut (4)
  • Globbing (3)
  • vim (3)
  • file (3)
  • tr (3)
  • uniq (2)
  • Image Processing (2)
  • locate (2)
  • du (2)
  • pdf (2)
  • wc (2)
  • popular (2)

>> What Are the Differences Between [0-9], [[:digit:]] and \d

>> How to Recursively grep All Directories and Subdirectories

>> What’s the Difference Between find . and find . -print

>> How to Print Only Filenames Matching a Pattern Using ripgrep

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

>> 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

>> Find Control Characters in a File in Linux

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

>> How to Check for Null Fields in a CSV File

  • ↑ Back to Top
  • 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 Networking Tutorials
  • Linux Files
  • Linux Processes
  • Linux Installation
  • Linux Filesystem Guide

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