Skip to content

Instantly share code, notes, and snippets.

@parsibox
Created July 13, 2019 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parsibox/aecbca678ed73f535f083110edadee7c to your computer and use it in GitHub Desktop.
Save parsibox/aecbca678ed73f535f083110edadee7c to your computer and use it in GitHub Desktop.
remove line contain a string
sed -i "/\b\(nf_conntrack_max\)\b/d" /etc/sysctl.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment