Linux:打印文件第一行

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