Relate service to a package..Centos Linux.
Hi,
I am using following command to get a list of services on Centos:-
service --status-all
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.
Thanks.
|