How do I read the first line of a file using cat?

前端 未结 11 801
渐次进展
渐次进展 2021-01-29 22:20

How do I read the first line of a file using cat?

11条回答
  •  春和景丽
    2021-01-29 22:36

    There is plenty of good answer to this question. Just gonna drop another one into the basket if you wish to do it with lolcat

    lolcat FileName.csv | head -n 1
    

提交回复
热议问题