Re: How to search particluar line in file



moonhk wrote:

How to search particluar line in file ? My file have 2,600,000 line.

Currently, I am using head and tail
head -500000 order_sync_A.d |tail -1
head -1000000 order_sync_A.d |tail -1
head -1500000 order_sync_A.d |tail -1
...


sed -n '500000p' order_sync_A.d

Ed.
.