Posted in Command Line, Linux First Two Lines Binny V A April 13, 2008 Leave a Comment on First Two Lines View first two lines of a file head -2 file tail -2 file # for last 2 lines Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.