Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS7

54 bytes added, 11:25, 27 April 2015
no edit summary
#Refer to the Information box regarding how to access the admin account from the command line.
#Issue the command <b><code><span style="color:#3366CC;font-size:1.3em;">su </span></code></b> Issue the '''pwd''' and '''whoami''' commands to confirm your directory pathname. When finished logout of this account.
#Issue the command <b><code><span style="color:#3366CC;font-size:1.3em;">su - </span></code></b> Issue the '''pwd''' and '''whoami''' commands to confirm your directory pathname. What do you notice are the main differences between using '''su''' versus using '''su -''' ? Remain in this account for the remainder of this lab.
# An installation log file called <b><code><span style="color:#3366CC;font-size:1.2em;">/var/log/anaconda/anaconda.packaging.log</span></code></b> has been created to record the installation of your c7host machine. This file is an ASCII file which can be viewed with the <b><code><span style="color:#3366CC;font-size:1.2em;">more</span></code></b> 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:
:: <b><code><span style="color:#3366CC;font-size:1.2em;">grep ________________ ________________ -i installing /var/log/anaconda/anaconda.packaging.log | wc -l'''</span></code></b>. Issue that command. Does it work? If not, what account do you think you should be in?
<ol>
<li value="8">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>
13,420
edits

Navigation menu