Projekt

Allgemein

Profil

Aktionen

Howto grep

find files with a specific content

this is taken from: https://tecadmin.net/find-all-files-containing-specific-text-on-linux/

this will search all files recursively for the given term

grep -rwl “search-string” /path/to/search/dir

grep -rwl “CentOS” /etc

should output a few files

Von Jeremias Keihsler vor mehr als 5 Jahren aktualisiert · 2 Revisionen