grep von Dateien mit Datei & ZeilenAnzeige

---

grep -n -H “google” *.php
for i in $(ls *.php); do grep -n –with-filename “google” $i; done;
find . -name “*.php” -print | xargs grep -n “searchstring”
find ./*.php -exec grep -l ‘google’ {} \;

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>