Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS7

93 bytes removed, 11:29, 27 April 2015
no edit summary
<li>Some of the files on your system were installed with the software packages, and some were created by system activity (for example, by creating your Learn account and by logging in). If you know the package name (from the <code>install.log</code>), you can list all the files that were installed from the package by using the following command:</li>
</ol>
::<b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">rpm -q -l package_namegedit</span></code></b> (where "package_name" represents the name of the ''application'' or ''package'')<ol>
<li value="12">This combines the <code>'''-q'''</code> (query) option with the <code>'''-l'''</code> (list filenames) option</li>
<li>You can pipe the outupt through <code>'''wc -l'''</code> to count the number of lines:</li>
13,420
edits

Navigation menu