Apollo Connecting the World

Diligence and Intelligence

grep递归搜索

leave a comment »

如何使用grep递归搜索一个目录下及其所有子目录中文件中的字符串?

例:搜索: content

grep -r content ./

Written by apollozhao

2011/05/25 at 15:09

Posted in grep, Linux

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: