2017年2月23日
摘要: 一、Find 1)批量删除文件 find . -name "*.h~" -exec rm '{}' \; 2)定位文件某一行 find / -name "demo.conf" | egrep -v "default" | xargs grep -n "demo" | head -1 | cut -d "/" -f 4 3)查找一级目录 find / -type ... 阅读全文
posted @ 2017-02-23 09:59 红孩儿你好 阅读(246) 评论(0) 推荐(0)