Monday, September 16, 2013

Search keyword

This is brief on how to search certain keyword in files.

# grep -r "keyword" /path

example:
# grep -r "/etc/dovecot-sql.conf" /etc
/etc/dovecot/tem:        args = /etc/dovecot-sql.conf
/etc/dovecot/dovecot.conf:        args = /etc/dovecot-sql.conf

No comments:

Post a Comment