Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS6

17 bytes added, 11:15, 30 December 2013
Investigation 2: How many file packages and files are installed on the system?
==Investigation 2: How many file packages and files are installed on the system?==
'''For the rest of the tasks in this lab, you must login to your installed Fedora system using your Learn regular user account(not root), open a terminal and execute the following listed Linux commands to obtain information for your lab-logbook''' (lab1). If you get a Permission Denied message when trying to execute a command, then switch to the '''superuser''' account by running the command '''su -''' and type in your password for "root" (which you know since you are the main administrator for your Fedora system). Once the intended command is executed, type "exit" to exit from the superuser account and return to your regular Learn user account. 
{{Admon/important|Using Superuser Privilege|Throughout this course, you may need to execute commands using the privileges of the the administrative user (username "root", also called the "superuser"). To switch from your account to the root account, type the command: <code>su</code>
# 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 that are labelled "Installing" in the installation log file:
:: <code>'''grep ________________ /root/install.log ________________ | wc -l'''</code>
<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>

Navigation menu