アットウィキロゴ

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

概要

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

方法

stringを含むファイルを、/home/user1/から検索します。

find /home/user1/ -type f -print | xargs grep string

情報元

ありがとうございます。

http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=7667&forum=10

最終更新:2010年05月04日 07:32