reading lines 30 to 40 fom a file in unix.

June 17, 2011 at 10:14:23
Specs: Windows 7
file has more than 40 lines

See More: reading lines 30 to 40 fom a file in unix.

Report •

#1
June 17, 2011 at 10:40:08
head -40 filename | tail -10

Report •

#2
June 17, 2011 at 10:57:03

sed -n '30,40p' file > newfile

Report •
Related Solutions


Ask Question