| by Arround The Web | No comments

How To Search Multiple Words / String Pattern Using grep Command on Bash Shell

How do I search multiple strings or words using the grep command? For example I’d like to search word1, word2, word3 and so on within /path/to/file. How do I force grep to search multiple words? How can I grep for multiple patterns on Linux, OS X, FreeBSD, or Unix-like system? What is the command to search multiple words in Linux?

The post How To Search Multiple Words / String Pattern Using grep Command on Bash Shell appeared first on Linux Today.

Share Button

Source: Linux Today

Leave a Reply