截取文件头几行,输出到另一个文件中: head -i 1000 a.txt|tee b.txt 压缩/解压 gz文件: gunzip a.gz gzip a #将文件a 压缩为a.gz 相关文章: 2022-12-23 2021-04-12 2021-10-25 2022-02-09 2021-11-12 2021-06-22 2022-12-23