Linux shell -查找字符(find,xargs,grep)

 

在当前目录下查找含有jmxremote字符的文件

test@>find . -type f|xargs grep "jmxremote"

 

. 当前目录

-type 查找文件类型

f 普通文件

xargs 对于提供find管道参数传输

grep 查找字符jmxremote

posted @ 2016-03-31 18:45  灵风_滴水穿石  阅读(982)  评论(0)    收藏  举报