First Two Lines
Tagged with: command, head, line, Linux, tail
View first two lines of a file
head -2 file
tail -2 file # for last 2 lines
View first two lines of a file
head -2 file
tail -2 file # for last 2 lines
This entry was posted on Sunday, April 13th, 2008 at 10:17 pm and is filed under Command Line, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.