文件最后100行:tail -n100 filePath;

文件开头100行:head -n100 filePath;

文件指定开始行和结束行的内容:sed '1,100p' filePath;

文件有多少行:wc -l 文件名;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2021-09-12
  • 2021-08-23
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2021-08-14
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2023-02-09
相关资源
相似解决方案