DEV Community

Discussion on: What Does 'grep -liz' Do?

Collapse
 
j143 profile image
Janardhan Pulivarthi

There is E option too. You can search with | option like this: grep -E '(this|that)'

And one more, v option for invert. It excludes the specified word!