Question : only show first lines linux
Answered by : uninterested-unicorn-pqxqnidgstv1
head -10 bar.txt
Source : https://www.cyberciti.biz/faq/unix-linux-show-first-10-20-lines-of-file/ | Last Update : Sat, 20 Jun 20
Question : linux get first line of file
Answered by : antonio-buccola
# credit to Stack Overflow user in the source link
head -1 your_file
Source : https://stackoverflow.com/questions/6114119/how-do-i-read-the-first-line-of-a-file-using-cat | Last Update : Mon, 30 Aug 21