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

 

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

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

 

. 当前目录

-type 查找文件类型

f 普通文件

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

grep 查找字符jmxremote

原文地址:https://www.cnblogs.com/recognition/p/5342323.html