First Two Lines

Tagged with: , , , ,

View first two lines of a file


head -2 file

tail -2 file # for last 2 lines

Leave a Reply