Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - Fedora17

109 bytes added, 13:44, 12 January 2012
no edit summary
# The name of the installation log file is <code>'''/root/install.log'''</code> -- It is an ASCII file (how can you be sure?) which can be viewed with the <code>'''less'''</code> command.
# You can make use of this file to determine how many packages have been installed: complete the following command to count the number of packages listed that are labelled "Installed" in the installation log file:
:: <code>'''grep ________________ /root/install.log | wc -l'''</code>
<ol>
<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>
:: <code>'''rpm -q -l package_name'''</code> (where '''package_name''' represents the name of the ''application'' or ''package'')
<ol>
<li value="6">This combines the <code>'''-q'''</code> (query) option with the <code>'''-l'''</code> (list filenames) option</li>
13,420
edits