Search with grep for two expressions at once August 28, 2023 by Tarik You can provide several expressions to search for with several -e flags. See also this post. i.e. grep -e expr1 -e expr2