Skip to content

Instantly share code, notes, and snippets.

@honwhy
Created August 20, 2014 03:27
Show Gist options
  • Select an option

  • Save honwhy/fa372b5b136e893b390e to your computer and use it in GitHub Desktop.

Select an option

Save honwhy/fa372b5b136e893b390e to your computer and use it in GitHub Desktop.
删除文件289行开始都结尾的内容
sed -i '289,$d' filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment