Open main menu

CDOT Wiki β

Changes

no edit summary
{|cellpadding="15" width="100%"
|-
|</blockquote><br><br>Example of Shell script Demo: [ [[lab1 Shell Script Demo|report.bash]] ]<br><br>Listing of Scripting Skills from Demo Listed Above:<blockquote><ul><li>'''if''' statement</li><li>'''exit''' command</li><li>USER '''Environment Variable'''</li><li>'''redirection''' (both &gt; and &gt;&gt;)</li><li>'''zenity'''</li><li>'''for''' loop</li><li>'''command substitution'''</li><li>'''sed'''</li><li>'''set''' command ('''positional parameters''')</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:''' Do students create simple bash shell script, add elements, then have them copy and paste, then run this more complex script? Key elements of scripting elements should be contained in information boxes in lab. Should midterm and/or final exam contain a scripting question? (recommended)<br><br>
|[[Image:lab1-script-1.png|thumb|left|275px|When executed as '''root''' or using '''sudo''' command, provides VM status and opportunity to '''start''' VMs]]
|[[Image:lab1-script-2.png|thumb|left|275px|When executed as '''root''' or using '''sudo''' command, provides VM status and opportunity to stop '''running''' VMs]]
{|cellpadding="15" width="100%"
|-
|</blockquote><br><br>Example of Shell script Demo: [ [[lab1 Shell Script Demo|report.bash]] ]<br><br>Listing of Scripting Skills from Demo Listed Above:<blockquote><ul><li>'''if''' statement</li><li>'''exit''' command</li><li>USER '''Environment Variable'''</li><li>'''redirection''' (both &gt; and &gt;&gt;)</li><li>'''zenity'''</li><li>'''for''' loop</li><li>'''command substitution'''</li><li>'''sed'''</li><li>'''set''' command ('''positional parameters''')</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:''' Do students create simple bash shell script, add elements, then have them copy and paste, then run this more complex script? Key elements of scripting elements should be contained in information boxes in lab. Should midterm and/or final exam contain a scripting question? (recommended)<br><br>
|[[Image:lab1-script-1.png|thumb|left|275px|When executed as '''root''' or using '''sudo''' command, provides VM status and opportunity to '''start''' VMs]]
|[[Image:lab1-script-2.png|thumb|left|275px|When executed as '''root''' or using '''sudo''' command, provides VM status and opportunity to stop '''running''' VMs]]
13,420
edits