[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: GREP question



Frank Apap wrote:
> Using grep how can i search all the FILENAMES of RPM installed with a
> certain name... ie
> search the system for rpms installed withe *apache* ?

rpm -qa |grep apache

Case insensitive:
rpm -qa |grep -i apache

Regular expression:
rpm -qa |grep '^apache.*ssl'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]