Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS7 - SSD

57 bytes added, 10:37, 14 June 2016
no edit summary
<tr valign="top>
<td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;padding-left:100px;">Purpose</td> <td style="border-bottom: thin solid black;font-weight:bold;background-color:#ffffff;padding-left:100px;">Command(s)</td>
</tr>
<tr valign="top">
<td style="border-bottom: thin solid black;">Network Connectivity</td>
<td style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="color:#3366CC;font-size:1.2em;">ping localhost</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">ping IPADDR</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b></td>
</tr>
<tr valign="top">
<td style="border-bottom: thin solid black;">Obtain number of installed packages in the rpm database. Option '''-q''' is to "query" informationo, option '''-a''' means for all installed packages, option '''-l''' means all files installed as opposed to just the application.</td>
<td style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="color:#3366CC;font-size:1.2em;">rpm -q -a | wc -l'''</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">rpm -q -a -l | wc -l'''</span></code></b><br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">rpm -q -l gedit | wc -l</span></code></b></td>
</tr>
<tr valign="top">
<td width="20%" style="border-bottom: thin solid black;">Obtain network connectivity confirmation including: '''IP ADDRESS''', '''Netmask''', '''routing''' (default gateway), and the default '''Domain Name Server'''.</td>
<td width="20%" style="border-bottom: thin solid black;padding-left:100px;"><b><code><span style="pointer-events: none;cursor: default;color:#3366CC;font-size:1.2em;">ifconfig</span></code></b><br><b><code><span style="pointer-events: none;cursor: default;color:#3366CC;font-size:1.2em;">route -n</span></code></b><br><b><code><span style="pointer-events: none;cursor: default;color:#3366CC;font-size:1.2em;">nslookup</span></code></b></td>
</tr>
13,420
edits

Navigation menu