Linux Get First Line Of File

[Solved] Linux Get First Line Of File | Perl - Code Explorer | yomemimo.com
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

Answers related to linux get first line of file

Code Explorer Popular Question For Perl