查找含特定字符串的文件 (转)[@more@]
查找含特定字符串的文件
Mailto:webmaster@Linuxaid.com.cn">技巧管理员(2000-12-22 23:35)
〖tips/stipslist.JSP?i=4">返回〗〖转发〗
$find . -type f -exec grep “the string you want find...” {} ; -print
该命令可以查找当前目录下含有"the string you want find..."字符串的文件
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752043/viewspace-989288/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10752043/viewspace-989288/