Skip to main content
deleted 2 characters in body
Source Link
terdon
  • 252.2k
  • 69
  • 480
  • 718

Linux - How do I search all non-binary (text) files recursively for a certain string

  • search all files for a string
  • skip binary
  • recursively
  • list filenames
  • (and if possible echotecho the line + linennumber underline number of the filename where it was found as option)

WasI was looking at Bash: passing braces as arguments to bash function and How to search for a string only in textfiles? (recursively)

But did not find an answer, only discussion

Linux - How do I search all non-binary (text) files recursively for a certain string

  • search all files for a string
  • skip binary
  • recursively
  • list filenames
  • (and if possible echot the line + linennumber under the filename where it was found as option)

Was looking at Bash: passing braces as arguments to bash function and How to search for a string only in textfiles? (recursively)

But did not find an answer, only discussion

Linux - How do I search all non-binary (text) files recursively for a certain string

  • search all files for a string
  • skip binary
  • recursively
  • list filenames
  • (and if possible echo the line + line number of the filename where it was found as option)

I was looking at Bash: passing braces as arguments to bash function and How to search for a string only in textfiles? (recursively)

But did not find an answer, only discussion

Source Link
snh_nl
  • 105
  • 4

Linux - How do I search all non-binary (text) files recursively for a certain string

Linux - How do I search all non-binary (text) files recursively for a certain string

  • search all files for a string
  • skip binary
  • recursively
  • list filenames
  • (and if possible echot the line + linennumber under the filename where it was found as option)

Was looking at Bash: passing braces as arguments to bash function and How to search for a string only in textfiles? (recursively)

But did not find an answer, only discussion