title: How to get the first line of a file in a bash script?
body: <p>I have to put in a bash variable the first line of a file. I guess it is with the grep command, but it is any way to restrict the number of lines?</p>