grep -o hello t.txt | wc -l //单词出现次数
grep
-o hello t.txt |
wc
-l //单词出现次数
cat logfile.txt | wc -l //行数