Projekt

Allgemein

Profil

Aktionen

Bash find files containing

find /etc -type f | xargs grep 'iptables'

where:
find is what you want to do, /etc is the directory to search in, -type f is a regular file (as opposed to device or other type), | to pipe the command through xargs and grep, grep for pattern matching, 'iptables' the pattern to match.

Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 1 Revisionen