The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

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

    • About Baeldung

      About Baeldung.

Category upFiles

File Searching » awk

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 (33)
  • find (25)
  • x awk (13)
  • sed (10)
  • ls (6)
  • xargs (6)
  • cut (4)
  • sort (4)
  • vim (3)
  • file (3)
  • regex (3)
  • wc (2)
  • tr (2)
  • Globbing (2)
  • copy-edit (2)

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

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

>> Finding Duplicate Files With the Same Name

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

>> How to Find Files by the Length of the Filename

>> Breadth-First Search in a Directory

>> How to grep Without Leading Whitespaces

>> Count Occurrences of Character per Line/Field on Linux

>> Find Matching Text and Replace the Next Line

>> Difference Between awk, nawk, gawk and mawk

>> Search for a Multi-Line Pattern in a File in Linux

>> Count Occurrences of a Char in a Text File in Linux

>> Delete Lines in a Text File That Contain a Specific String

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo