如何找到包含给定函数的每个文件?

bit*_*ion 2 linux command-line find

我正在尝试列出包含函数的所有文件,例如matrixCal.

我怎样才能在linux中做到这一点?

小智 5

grep 可以吗?

grep -R matrixCal /location/of/your/code
Run Code Online (Sandbox Code Playgroud)