持续更新。Ctrl+R搜索command历史grep:grep pattern files, e.g.grep “aug” sample.txtinput | grep pattern, e.g.ls -l | grep -i “*.txt"其中-i意思是大小写不敏感cat sample.txt | grep “aug”