Relate service to a package..Centos Linux.
I am using following command to get a list of services on Centos:-
Now, for the list of services installed, I want to know the corresponding package for the service on Centos i.e. if MySQL service is running, I want to know the package name for corresponding service?
Can this be achieved via shell script?
Please confirm if possible.