grep -rn “你要搜索的内容” 在那个路径下搜索 liuhu@liuhu-hp-liu: ~$ grep -rn "内容" 路径 liuhu@liuhu-hp-liu: ~$ grep -rn "wps" ./文档