linux系统中用一条命令 查找/data目录及子目录下 内容包含 “hello” 的所有文件名称 及 所在行数
find /data "*" -print|xargs grep -n "hello" 匹配到二进制文件 ./strcpy./strcpy.c:25: char *s2 = "hello lijing";匹配到二进制文件 ./a.out./test2.c~:12: strcpy(str, "hello");匹配到二进制文件 ./test3./tes
原创
2013-03-31 15:27:38 ·
2744 阅读 ·
0 评论