sed -n '100,200p' inputfileawk 'NR>=100&&NR<=200{print}' inputfilehead -200 inputfile|tail -100
tail -n -100 xxxx.xxx | head -n 200