linux下查看tmp.txt文件中有多少个特定字符串

51 阅读1分钟

bash命令如下,

grep 'end_function_operate_one_ttfa_v2(input).' tmp.txt | wc -l

输出为,

434