利用grep命令查找文件内容

例如查找PHP源码某个函数的具体实现

grep -rn "PHP_FUNCTION(socket_accept)" ./ext

原文地址:https://www.cnblogs.com/web21/p/6022160.html