you can use head and tail both $ head -n 10 text.txt | tail -n 3
so you will got output start line no= 7 end line no=10 no of output line=3 of file text.txt --- Arif Uddin <[EMAIL PROTECTED]> wrote: > ami je kono ekti file porte pari cat command use > kore. kintu kono ekti file er 20 line text thakle > sekhan hote 5-to 10 line ei 6 ti line text terminal > e kivabo porbo. > > ei process ta amar khub dorkar. so kindly ans me. > > Thanks to all. > > > Md. Arif Uddin > Technical Officer (Computer) > IICT, BUET > Cell: +88 017 15 865458 > Email: [EMAIL PROTECTED] > http://geocities.com/arifrhb > > > --------------------------------- > Need a vacation? Get great deals to amazing places > on Yahoo! Travel. > > [Non-text portions of this message have been > removed] > > ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/
