过滤多个字段

 cat httpd-vhost.conf |egrep 'ServerName|ServerAlias' |awk '{print $2}'