13,420
edits
Changes
no edit summary
#Click on the following link to run an online tutorial showing you some additional shell scripting techniques: [ link ].
#It is recommended to practice creating Bash Shell Scripts as you proceed throughout this course.
#Let's look at some demos involving managing VMs with shell scripts. Issue the following command:<blockquote><b><code><span style="pointer-events: none;cursor: default;color:#3366CC;font-size:1.2em;">wget https://scs.senecac.on.ca/~elizabeth.kopiec/backupVM.bash</span></code></b></blockquote>
#Set the appropriate permissions and run this Bash Shell script.
#Verify that the backup of your virtual machine occurred (hint: issue ls command to verify the date and time of creation).
#Use the <b><code>wget</code></b> command to download, study, and run the following shell scripts on-line:<blockquote><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">https://scs.senecac.on.ca/~murray.saul/vm-start-text.bash<br>https://scs.senecac.on.ca/~murray.saul/vm-stop-text.bash</span></code></b><br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">https://scs.senecac.on.ca/~murray.saul/vm-start.bash<br>https://scs.senecac.on.ca/~murray.saul/vm-stop.bash</span></code></b></blockquote>
#Try to understand what these Bash Shell scripts do.
#You have completed lab2. Proceed to Completing The Lab, and follow the instructions for "lab sign-off".