Skip to content

Instantly share code, notes, and snippets.

@mahendrakalkura
Created February 16, 2015 15:10
Show Gist options
  • Save mahendrakalkura/195da1c9fdb8648819e6 to your computer and use it in GitHub Desktop.
Save mahendrakalkura/195da1c9fdb8648819e6 to your computer and use it in GitHub Desktop.
sed -i '{{ number }}d' {{ file }}
Example:
sed -i '1000d' ~/.ssh/known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment