Created
May 14, 2020 08:33
-
-
Save geekman/47b7c5e8a3e99e362f1b10ff32d23794 to your computer and use it in GitHub Desktop.
snippet to look for effective config lines in config files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# look for non-commented, non-empty lines | |
grep -v '^\s*\(#.*\)\?$' /etc/someconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment