====== SED - Find - Grep for AAA and BBB and CCC (in any order) ====== sed '/AAA/!d; /BBB/!d; /CCC/!d'