自宅サーバー Fedora (Home) » メモ »  特定の文字列を含むファイルを検索する方法

特定の文字列を含むファイルを検索する方法

/usr/local/httpd/conf ディレクトリ以下のファイルの中で拡張子が .conf で ssl という文字が含まれるファイルを検索する場合。

# find /usr/local/httpd/conf -name "*.conf" | xargs grep ssl