Linux:打印文件第一行

awk 'NR==1{print} ' 1.txt
posted @ 2022-09-08 15:58  YlnChen  阅读(60)  评论(0)    收藏  举报