find / -name *.cfg
# oder
find /etc -name *.cfg
Ausschluß des Verzeichnisses ''/media''
find / -path /media -prune -o -name *.cfg -print
Ausschluß der Verzeichnisse ''/media'' und ''/home''
find / -path /media -prune -o -path /home -prune -o -name *.cfg -print