Thursday, October 1, 2009

To grep mulitiple contents

[root@server ~]# rpm -qa | egrep 'binutils|compat-db'
binutils-2.17.50.0.6-12.el5
compat-db-debuginfo-4.2.52-5.1
[root@server ~]#

===============

php -m | egrep -i 'curl| XML|MySQL|GD|mbstring|gettext'
curl
gd

No comments:

Post a Comment