Skip to content

Instantly share code, notes, and snippets.

@iodic
Created March 30, 2022 13:32
Show Gist options
  • Save iodic/a8d5287e59a6cfeab8bcb2505f8d9012 to your computer and use it in GitHub Desktop.
Save iodic/a8d5287e59a6cfeab8bcb2505f8d9012 to your computer and use it in GitHub Desktop.
Copy a range of lines to a different file
sed -n '80950,80955p' source.log > destination.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment