13,420
edits
Changes
no edit summary
|-
|<blockquote><br><br>Example of simple text-based report shell script Demo: [ [[lab1 Shell Script Demo|text-report.bash]] ]<br><br>Scripting Skills:<blockquote><ul><li>'''if''' statement</li><li>'''exit''' command</li><li>USER '''Environment Variable'''</li><li>'''redirection''' (both > and >>)</li><li>'''command substitution'''</li></ul></blockquote><br><br>Connection with ULI101 Scripting Skills (Course Outline):<br>Connection with OPS435 Scripting Skills (Course Outline):<br><br>'''Practical Consideration for scripting in lab1:''' Students create simple bash shell script, add elements, then have them copy and paste, then run this script. Key elements related to the script is evaluated and provides basis for other scripting tasks in other labs? Should midterm and/or final exam contain a scripting question? (recommended)<br><br>
|[[Image:lab1-script-text-report.png|thumb|left|275px|When executed as '''root''' or using '''sudo''' command, provides VM status and opportunity to stop '''running''' VMsscript generates a basic text-based report in a file]]
|}