grep是Linux命令行下常用于查找过滤文本文件内容的命令。最简单的用法是:
grep apple fruitlist.txt
grep -i apple fruitlist.txt
grep -nr apple *