Print lines in the middle of file

  • linux
  • sed

posted on 02 May 2018 under category 人生经验

sed -n '1000,2000;2001q' file #打印file的1000-2000行