13,420
edits
Changes
no edit summary
== Lab 1:==
::#'''Scripting for Lab1'''. Lab 1 could be modified to have students generate a report regarding the collection of Linux information after an install. Certainly '''command substitution''' could be taught and to reinforce '''redirection''' >> to add content to a filename (i.e. not over-ride). It would be interesting to expose students to the '''zenity''' command to allow a menu to give user choice of report elements to include in the generated report. Perhaps a link to a "fancy" Bash shell script to generate a web-page so students can view the contents in a nice format. This scripting element could easily be added to assignment #1.<br><br>OPS435 Elements:<ul><li>'''command substitution''' (shell grammar?)</li><li>'''redirection''' (> vs >>)></li><li>'''IO Stream vs Graphical Interaction''' (eg. zenity)</li><li>'''Scripting Samples (View and adapt'''- don't "re-invent the wheel completely")</li><li>Exposure to '''for''' loop with '''positional parameters''' (storing checkbox selections) for report</ul><br><br>Example of Shell script Demo: [[lab1 Shell Script Demo]]<br><br>Listing of Scripting Skills from Demo Listed Above:<ul><li>'''if''' statement</li><li>'''exit''' command</li><li>USER '''Environment Variable'''</li><li>'''redirection''' (both > and >>)</li><li>'''zenity'''</li><li>'''for''' loop</li><li>'''command substitution'''</li><li>'''sed'''</li><li>'''set''' command ('''positional parameters''')</li></ul><br><br>Connection with ULI101 Scripting Skills (Course Outline):<br>Connection with OPS435 Scripting Skills (Course Outline)<br><br>
== Lab 2:==