文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Search content in linux with find & grep

Search content in linux with find & grep

时间:2010-07-29  来源:hiyangyong

Example: find /opt/bea/ directory and grep all the files that contains "JAVA_HOME" defination.   Command 1: find /opt/bea -name "*.*" | xargs grep "JAVA_HOME="   Command 2: find /opt/bea -type f  -exec grep 'JAVA_HOME='  -l {} \;
相关阅读 更多 +
排行榜 更多 +
天天爱连线免广告

天天爱连线免广告

休闲益智 下载
可口的比萨国际版

可口的比萨国际版

休闲益智 下载
天天飞跃无广告版

天天飞跃无广告版

休闲益智 下载