find . -newer han2.sh -print | wc -l
find . -newer han2.sh -type f -print | wc -l
find . \( -name "*1*" -or -newer eval.sh \) -type f -print
grep 的初步使用 grep 是 通用正则表达式解析器
grep in words.txt
in there inthi I am good
Tom cintheschool fowloer
hp@ubuntu:~/shel$ grep -c in words.txt
2
hp@ubuntu:~/shel$ grep -v in words.txt
hello world!
hp@ubuntu:~/shel$ grep -cv in words.txt
1
hp@ubuntu:~/shel$ more words.txt
hello world!
in there inthi I am good
Tom cintheschool fowloer
hp@ubuntu:~/shel$
grep e$ words2.txt
grep a[[:blank:]] words2.txt
grep Th.[[:space:]] words2.txt
grep -E [a-z]\{10\} words2.txt