随笔分类 -  linux

linux
摘要:#根据文件内容查找文件 find ./ -name "*.conf" | xargs grep "v1.0/web" #统计行数 在文件a中统计hello出现的行数:grep hello a | wc -l在文件a中统计hello出现的次数:grep -o hello a | wc -l #查看脚本 阅读全文
posted @ 2019-04-16 23:07 dfh168 阅读(211) 评论(0) 推荐(0)