1、打印匹配数字4 到最后一行

[111 sed]$ cat input 
1
2
3
4
5
6
7
8
9
10
[111 sed]$ sed -n '/4/,$p' input 
4
5
6
7
8
9
10

 

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-03
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
相关资源
相似解决方案