I would like to know if there is any way I can create a control to check if a service is installed on a Red Hat Enterprise Linux 6.x host. I want to check if 'BIND' (Berkeley Internet Name Domain) service is installed.
The manual procedure includes running the command as shown below:
rpm –qa | grep –i bind
Thanks in advance.