Monday, August 24, 2009

Extract Lines From a Text File

"sed -n 2,4p file_name"

extracts lines from 2 to 4 from that file

1 comment:

mhewedy said...

Great command, thanks