Last active
January 3, 2020 08:50
-
-
Save thomo/1f1d7bb86e74b9686bf7afbaed01b982 to your computer and use it in GitHub Desktop.
An alias to show only the relevant lines in (most) linux config files - just skip typical comment and empty lines.
This file contains hidden or 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
alias mwc='grep -v -e '\''^;'\'' -e '\''^[[:space:]]*#'\'' -e '\''^[[:space:]]*$'\''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment