Skip to content

Instantly share code, notes, and snippets.

@herdianf
Created November 5, 2016 15:21
Show Gist options
  • Save herdianf/f26d137543ca1e05c0303395e0a00f64 to your computer and use it in GitHub Desktop.
Save herdianf/f26d137543ca1e05c0303395e0a00f64 to your computer and use it in GitHub Desktop.
Cleanup Apache Config Comments
sed -i -e 's/#.*$//' -e '/^\s*$/d' /etc/httpd/conf/httpd.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment