yum command for directories
I know that the command:
yum provides filename gives the name of the package that created and installed the file. I am looking for an equivalent command that can apply to directories. Is there a command for determing what package created and installed a directory in Linux 6,5, 64 bit Centos? Thanks, R, jyunker |
yum whatprovides and rpm -qf work for directories as well. Take in mind that all the default system directories are provided by the package filesystem. Others could have been created by other packages, but some (parent) directories don't belong to any package if they have been created together with their sub-directories. For example on my CentOS system I have a directory named /opt/intel/composerxe-2011.0.084 and
Code:
$ rpm -qf /opt/intel/composerxe-2011.0.084 Code:
$ rpm -qf /opt/intel |
Thanks I will try it.
R, jyunker |
All times are GMT -5. The time now is 09:50 AM. |