tail -n 1000:显示最后1000行
tail -n 1000
tail -n +1000:从1000行开始显示,显示1000行以后的
tail -n +1000
head -n 1000:显示前面1000行
head -n 1000