GREP is global regular expression print. It may the most popular tool to find patterns in file and it is always a built-in command in *nix system. We can see it from name that grep can match string from input data with regular expression. In this article, I'll show you how to use grep and some normal regular expression meanings in daily scenario.

Overall usage of grep

grep [options] regex FILE_PATTERNS

Some common options

several repeatition operators