码迷,mamicode.com
首页 > 其他好文 > 详细

grep

时间:2015-06-18 20:03:16      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:grep

[root@QD1_Master shell_scripts]# grep ‘123‘ *

x:123fdafdsa

[root@QD1_Master shell_scripts]# grep -r ‘123‘ *

a/z:123

x:123fdafdsa

[root@QD1_Master shell_scripts]# ls

a  x  y

[root@QD1_Master shell_scripts]# grep -nr ‘123‘ *

a/z:2:123

x:1:123fdafdsa

 


grep

标签:grep

原文地址:http://zlong37.blog.51cto.com/1073540/1663296

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!