A web development/programming blog providing info, tips, and tricks on programming languages, scripting, Linux, MySQL and more
grep Cheat Sheet
- -i
- case insensitive search
- -n
- print output with line numbers
- -c
- print only a count of the number of lines matching
- -v
- search for all lines that don’t contain the search string
- grep word *
- Search through all files in a directory for word

