Di 27 Jan 2009
Find all lines in a file containing some text
Geschrieben von Jürgen Mayer unter Erfahrungen, experience
Tags: aix, erfahrung, experience, unix
Keine Kommentare
I want to search for some text in a directory containing log files. I want to know all lines containg this text, I use this command:
find . -type f -print | xargs grep “[text you want to search for]”