Get the first and last line of a text file

[crayon-6a620c9a78e7e473104267/]