grep multuple patterns Posted on 27-Oct-2010 By Admin No Comments on grep multuple patterns cat test1 | egrep ‘TNS-|Client address’ | sed -e ‘s/^.*HOST/HOST/’ Linux/Unix, shell