grep two lines together code example Example: grep two lines together $ grep -e sweet -e lemon file_type This is a sweet lemon.