Last active
February 24, 2017 08:10
-
-
Save begin29/768347674ba7aeb6b7308d7dbadb214e to your computer and use it in GitHub Desktop.
grep useful functions
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
# search `pattern name` recursivelly from current folder | |
# only in css files | |
grep --include=\*.css -rnw ./ -e "pattern name" | |
# search word error | |
grep -i error /var/log/kern.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment