Open main menu

CDOT Wiki β

Changes

no edit summary
== Lab 3:==
|[[Image:lab3_1.png|thumb|right|375px|When executed as '''root''' or using '''sudo''' command, allows for creation of many user accounts (stored in a user database in /root/new-users.txt]]:: This lab deals with software installation and introduction to LVM. Not certain shell scripting would benefit software installation with yum, since can use yum to install multiple instances of software. On the other hand, would be useful to expose students to '''shell scripts that manage LVM for practical situations''' (i.e. case scenarios - real world situations). Should consult with professors and industry SMEs to provide good examples of scripts involving LVM. LVM scripting example should be included in this lab since lab4 is a big lab and keeps students very involved.<br><br>[[Image:lab3_1.png|thumb|right|375px|When executed as '''root''' or using '''sudo''' command, allows for creation of many user accounts (stored in a user database in /root/new-users.txt]]'''Shell Script #1 (monitor Disk Space):''' [ [[https://scs.senecac.on.ca/~murray.saul/monitor-disk-space.bash monitor-disk-space.bash]] ]<br>(Courtesy: http://bash.cyberciti.biz/monitoring/shell-script-monitor-unix-linux-diskspace/)<br><br>'''Scripting Skills:'''<blockquote><ul><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li><li>x</li></ul></blockquote><br>
::'''Practical Consideration for scripting in lab3:<br><br>''' Do students create simple bash shell script, add elements, then have them copy and paste, then run this more complex script? Is lab2 too long for scripting element to be included? 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>
13,420
edits