Open main menu

CDOT Wiki β

Changes

OSL740 Lab 1

6 bytes added, 10:00, 21 January 2022
m
INVESTIGATION 4: Using Python Scripting to Generate System Information Reports
sudo yum install python3
</code>
<li><ul><li>Create a new file in your '''~/bin ''' directory called '''myreport.py'''</li>
<li>Since we haven't covered if statements in python yet, we won't be able to check if the user running the script is root. For now, we will have to trust ourselves to remember to use elevated permissions to run this script. We will correct this in lab 2.</li>
</ul></li>
572
edits