[root@linux-node1 ~]# cat 13_1.txt   #测试文件
aa
11
11bbcc
aa11bb
syaving
[root@linux-node1 ~]# grep -c 'syaving' 13_1.txt   #输出文档中含有syaving字符的行数
1

results matching ""

    No results matching ""