awk ‘/string1/ && /string2/’ file