715
edits
Changes
→INVESTIGATION 5: Using Python Scripting to Generate System Information Reports
:'''Perform the Following Steps:'''
<ol>
<li>Install Check if python3 is installed on your Centos RHEL Host machine. Open a terminal and type:</li>
<code style="color:#3366CC;font-family:courier;font-size:.9em;margin-left:20px;font-weight:bold;">
which python3</code><li>The output should of the previous command should show python3 is already installed. If it is not, install python3 on your Centos Host machine.</li><code style="color:#3366CC;font-family:courier;font-size:.9em;margin-left:20px;font-weight:bold;">sudo yum dnf install python3
</code>
<li><ul><li>Create a new file in your '''~/bin''' directory called '''myreport.py'''</li>