egrep Multiple Pattern Search
egrep Multiple Pattern Search
=====================
Example:
========
Requirement : Find the root and oracle users informations from /etc/passwd
[root@tritya root]# egrep ‘root|oracle ‘ /etc/passwd
root:x:0:0:root:/root:/bin/bash
oracle:x:300:200:oracle:/home/oracle:/bin/bash
[root@tritya root]#

byypiwczewwvpsfbcehzzdkpmkrsvg
[…] egrep Multiple Pattern Search egrep Multiple Pattern Search ===================== Example: ======== Requirement : Find the root and oracle users informations from /etc/ passwd http://www.nalanta.com/2008/08/12/eg…attern-search/ […]