Changes

Jump to: navigation, search

OPS235 Lab 1

1 byte removed, 20:36, 13 September 2018
m
Part 5: Using Shell Scripting to Generate System Information Reports
<tr valign="top">
<td width="20%" style="border-bottom: thin solid black;"><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>
<td width="20%" style="border-bottom: thin solid black;">Obtain number of installed packages in the rpm database. Option '''-q''' is to "query" informationoinformation, option '''-a''' means for all installed packages, option '''-l''' means all files installed as opposed to just the application.</td>
</tr>
8
edits

Navigation menu