Jump to: navigation, search

OPS235 Lab 1 19

29 bytes added, 14:36, 27 August 2013
no edit summary
Navigate through your Graphical Fedora system, '''locate and run a terminal program (in order to issue Linux commands). Issue and record the commands used and the output generated in each of the following steps:''' <!-- /root/install.log not available in Fedora 19 Full Install DVD
# 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 Open a terminal by clicking the following command to count the number of packages that are labelled "Installing" '''Activities '''menu, and typing in the installation log file::search area: <code>'''grep ________________ /root/install.log | wc gnome-lterminal'''</code>. A terminal program icon should appear: click on the icon to open a shell terminal.<ol> <li value="3"># Using the <code>rpm</code> command: you can also use the following commands to list all the installed packages, and the total number of packages installed:</li>
:: <code>'''rpm -q -a'''</code>
:: <code>'''rpm -qa | wc -l'''</code>
<li value="4">The <code>'''-q'''</code> option means query, and the <code>'''-a'''</code> option means all (in other words, query all installed software packages). Did you get </li> <li>Enter the following command and record the same number of packages from :</ol>:: <code>'''rpm -qal | wc -l'''</code> What is the difference between the above two methodscommands: rpm -qa and rpm -qal?(Refer to the online man pages for the rpm command for an answer). </liol>
<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>

Navigation menu