head tail
eharetea

A trick using head and tail commands to pull out a line of a file.

Extract a single line our of a file using the head and tail commands.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 04:56 PM


PULL OUT THE 8TH LINE OF A FILE

//head reads top 8 lines
//tail reads bottom 1 line

head -n 8 Landing.txt |tail -n 1