code

macname@localhost Desktop % cat a.txt 
1dededede
2dedefrfr
3frhvfvfvf
4frfrdede
5frfrfrfrf
6frfrede
7jukitttt
8csxssss
9zaxss
10swwww
11ssssss
12aaaaa
macname@localhost Desktop % grep 2 a.txt |wc -l
       2
macname@localhost Desktop % grep 3 a.txt       
3frhvfvfvf
macname@localhost Desktop % 
macname@localhost Desktop % grep 3 a.txt |wc -l
       1
macname@localhost Desktop % 

 

 

 

 

 

相关文章:

  • 2021-08-15
  • 2022-02-27
  • 2021-09-06
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
猜你喜欢
  • 2021-11-10
  • 2022-12-23
  • 2021-11-13
  • 2021-10-19
  • 2021-11-20
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案