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